Royal Purple Color

What Color is Royal Purple?

Royal purple is a deep bright purple. It looks fancy like king.

#7851A9
FormatCodeImage
Hex
#7851A9
Royal Purple Color Code
RGB
120, 81, 169
HSL
267, 35%, 49%
CMYK
29%, 52%, 0%, 34%
OKLCH
oklch(0.518 0.138 302)

Color Harmonies

Balanced color combinations based on color theory. Click to copy.

Analogous

Adjacent colors - harmony and unity

Monochromatic

Same hue, varied lightness - cohesive designs

Complementary

Opposite colors - high contrast

Split Complementary

Base + adjacent complements - balanced contrast

Triadic

Evenly spaced - vibrant palettes

Square

Four colors at 90° - bold combinations

Tetradic

Rectangle shape - rich variety

Compound

Analogous + complements - sophisticated

Accessibility & Contrast Checker

Ensure your color combinations meet WCAG accessibility standards for readability. Test text contrast against different backgrounds.

Sample Text

The quick brown fox jumps over the lazy dog.

Background: #FFFFFF5.92:1
AA AA Large AAA

Sample Text

The quick brown fox jumps over the lazy dog.

Background: #0000003.55:1
AA AA Large AAA

Sample Text

The quick brown fox jumps over the lazy dog.

Background: #F5F5F55.43:1
AA AA Large AAA

Sample Text

The quick brown fox jumps over the lazy dog.

Background: #1A1A1A2.94:1
AA AA Large AAA

Sample Text

The quick brown fox jumps over the lazy dog.

Background: #3333332.13:1
AA AA Large AAA

WCAG Guidelines: AA requires 4.5:1 for normal text, 3:1 for large text. AAA requires 7:1 for normal text, 4.5:1 for large text. Large text is 18pt+ or 14pt bold+.

Code Snippets

Ready-to-use code snippets for CSS, SCSS, Tailwind, and more. Click to copy.

CSS Variables
/* Royal Purple Color */
:root {
  --color-royal-purple-color: #7851A9;
  --color-royal-purple-color-rgb: 120, 81, 169;
}

.element {
  background-color: var(--color-royal-purple-color);
  color: rgba(var(--color-royal-purple-color-rgb), 0.8);
}
SCSS
// Royal Purple Color Variables
$royal-purple-color: #7851A9;
$royal-purple-color-rgb: 120, 81, 169;

// Usage
.element {
  background-color: $royal-purple-color;
  border-color: darken($royal-purple-color, 10%);
  box-shadow: 0 4px 6px rgba($royal-purple-color-rgb, 0.2);
}
Tailwind Config
// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'royal-purple-color': '#7851A9',
        'royal-purple-color-light': '#A083C3',
        'royal-purple-color-dark': '#543875',
      },
    },
  },
}
JSON
{
  "name": "Royal Purple Color",
  "hex": "#7851A9",
  "rgb": {
    "r": 120,
    "g": 81,
    "b": 169
  },
  "hsl": {
    "h": 267,
    "s": 35,
    "l": 49
  }
}

Visual Usage Examples

See how Royal Purple Color looks in real-world design applications.

Website Header
Logo
HomeAboutContact
Card Component
Buttons
Background Usage

Heading Text

This is how body text appears on this background color. Good contrast is essential for readability.

Badges & Tags
NewFeaturedPopular
Gradients (Click to copy)
Complementary
Fade
Analogous
Radial