#774AB9#774AB9
#774AB9 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.6% C 0.169 H 299.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #774AB9 |
|---|---|
| RGB | rgb(119, 74, 185) |
| HSL | hsl(264, 44%, 51%) |
| HSV | hsv(264, 60%, 73%) |
| CMYK | cmyk(35.7%, 60%, 0%, 27.5%) |
| CIE-LAB | lab(41.72, 42.57, -51.92) |
| CIE-LCH | lch(41.72, 67.15, 309.35°) |
| OKLab | oklab(51.58% 0.0819 -0.1474) |
| OKLCH | oklch(51.58% 0.169 299.1) |
| XYZ | xyz(18.8113, 12.3221, 47.2769) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.64
Bluey Purple
#6241C7
ΔE00 5.11
Light Indigo
#6D5ACF
ΔE00 6.36
Slate Blue
#6A5ACD
ΔE00 6.49
Iris
#6258C4
ΔE00 6.53
Bluish Purple
#703BE7
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774AB9 #8CB94A
analogous
#4A54B9 #774AB9 #AE4AB9
triadic
#774AB9 #B9774A #4AB977
tetradic
#774AB9 #B94A54 #8CB94A #4AB9AE
square
#774AB9 #B94A54 #8CB94A #4AB9AE
split-complementary
#774AB9 #B9AE4A #54B94A
monochromatic
#3F2663 #5B378F #774AB9 #9876CA #B9A2DB
Accessibility & contrast
On white
6.06
#774AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#774AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774AB9
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774AB9 | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0362BD
Deuteranopia (green-blind)
#2261B7
Tritanopia (blue-blind)
#68627A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #774ab9; /* rgb */ color: rgb(119, 74, 185); /* oklch */ color: oklch(51.6% 0.169 299.1);
Tailwind
colors: {
custom: {
50: '#a27ecf',
500: '#774ab9',
950: '#000000',
},
}SCSS
$custom: #774ab9; $custom-light: #a27ecf; $custom-dark: #000000;
JSON
{
"hex": "#774ab9",
"rgb": {
"r": 119,
"g": 74,
"b": 185
},
"hsl": {
"h": 264.324,
"s": 44.223,
"l": 50.784
},
"oklch": {
"l": 0.51576,
"c": 0.16863,
"h": 299.1
},
"luminance": 0.12322
}Semantic roles & 50–950 ramp
primary
#774AB9
secondary
#B4C897
accent
#D454A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82