#774BB6#774BB6
#774BB6 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.163 H 299.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #774BB6 |
|---|---|
| RGB | rgb(119, 75, 182) |
| HSL | hsl(265, 42%, 50%) |
| HSV | hsv(265, 59%, 71%) |
| CMYK | cmyk(34.6%, 58.8%, 0%, 28.6%) |
| CIE-LAB | lab(41.74, 41.24, -50.14) |
| CIE-LCH | lch(41.74, 64.92, 309.43°) |
| OKLab | oklab(51.52% 0.0808 -0.1421) |
| OKLCH | oklch(51.52% 0.163 299.6) |
| XYZ | xyz(18.5653, 12.3313, 45.6490) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.07
Bluey Purple
#6241C7
ΔE00 5.54
Light Indigo
#6D5ACF
ΔE00 6.52
Iris
#6258C4
ΔE00 6.62
Slate Blue
#6A5ACD
ΔE00 6.64
Purply
#983FB2
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774BB6 #8AB64B
analogous
#4B54B6 #774BB6 #AC4BB6
triadic
#774BB6 #B6774B #4BB677
tetradic
#774BB6 #B64B54 #8AB64B #4BB6AC
square
#774BB6 #B64B54 #8AB64B #4BB6AC
split-complementary
#774BB6 #B6AC4B #54B64B
monochromatic
#3E2760 #5B388B #774BB6 #9877C8 #B9A2D9
Accessibility & contrast
On white
6.06
#774BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#774BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774BB6
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774BB6 | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1362B9
Deuteranopia (green-blind)
#2862B4
Tritanopia (blue-blind)
#696179
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #774bb6; /* rgb */ color: rgb(119, 75, 182); /* oklch */ color: oklch(51.5% 0.163 299.6);
Tailwind
colors: {
custom: {
50: '#a27fcc',
500: '#774bb6',
950: '#000000',
},
}SCSS
$custom: #774bb6; $custom-light: #a27fcc; $custom-dark: #000000;
JSON
{
"hex": "#774bb6",
"rgb": {
"r": 119,
"g": 75,
"b": 182
},
"hsl": {
"h": 264.673,
"s": 42.292,
"l": 50.392
},
"oklch": {
"l": 0.51524,
"c": 0.16349,
"h": 299.6
},
"luminance": 0.12331
}Semantic roles & 50–950 ramp
primary
#774BB6
secondary
#B3C697
accent
#D2569F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82