#774AB7#774AB7
#774AB7 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.166 H 299.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #774AB7 |
|---|---|
| RGB | rgb(119, 74, 183) |
| HSL | hsl(265, 43%, 50%) |
| HSV | hsv(265, 60%, 72%) |
| CMYK | cmyk(35%, 59.6%, 0%, 28.2%) |
| CIE-LAB | lab(41.59, 42.05, -50.96) |
| CIE-LCH | lch(41.59, 66.07, 309.53°) |
| OKLab | oklab(51.44% 0.082 -0.1446) |
| OKLCH | oklch(51.44% 0.166 299.6) |
| XYZ | xyz(18.6017, 12.2382, 46.1728) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.37
Bluey Purple
#6241C7
ΔE00 5.31
Light Indigo
#6D5ACF
ΔE00 6.58
Iris
#6258C4
ΔE00 6.69
Slate Blue
#6A5ACD
ΔE00 6.70
Purply
#983FB2
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774AB7 #8AB74A
analogous
#4A53B7 #774AB7 #AE4AB7
triadic
#774AB7 #B7774A #4AB777
tetradic
#774AB7 #B74A53 #8AB74A #4AB7AE
square
#774AB7 #B74A53 #8AB74A #4AB7AE
split-complementary
#774AB7 #B7AE4A #53B74A
monochromatic
#3E2660 #5B388C #774AB7 #9876C8 #B9A2DA
Accessibility & contrast
On white
6.09
#774AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#774AB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774AB7
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774AB7 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A62BB
Deuteranopia (green-blind)
#2561B5
Tritanopia (blue-blind)
#696179
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #774ab7; /* rgb */ color: rgb(119, 74, 183); /* oklch */ color: oklch(51.4% 0.166 299.6);
Tailwind
colors: {
custom: {
50: '#a27ecd',
500: '#774ab7',
950: '#000000',
},
}SCSS
$custom: #774ab7; $custom-light: #a27ecd; $custom-dark: #000000;
JSON
{
"hex": "#774ab7",
"rgb": {
"r": 119,
"g": 74,
"b": 183
},
"hsl": {
"h": 264.771,
"s": 43.083,
"l": 50.392
},
"oklch": {
"l": 0.51438,
"c": 0.16619,
"h": 299.6
},
"luminance": 0.12238
}Semantic roles & 50–950 ramp
primary
#774AB7
secondary
#B3C796
accent
#D3559F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82