#774EA7#774EA7
#774EA7 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.0% C 0.140 H 303.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #774EA7 |
|---|---|
| RGB | rgb(119, 78, 167) |
| HSL | hsl(268, 36%, 48%) |
| HSV | hsv(268, 53%, 65%) |
| CMYK | cmyk(28.7%, 53.3%, 0%, 34.5%) |
| CIE-LAB | lab(41.47, 35.67, -41.71) |
| CIE-LCH | lch(41.47, 54.88, 310.54°) |
| OKLab | oklab(51.03% 0.0764 -0.1174) |
| OKLCH | oklch(51.03% 0.14 303) |
| XYZ | xyz(17.3056, 12.1608, 37.9873) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 0.91
Deep Lavender
#8D5EB7
ΔE00 6.62
Purply
#983FB2
ΔE00 7.18
Rebeccapurple
#663399
ΔE00 7.68
Bluey Purple
#6241C7
ΔE00 7.96
Iris
#6258C4
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774EA7 #7EA74E
analogous
#4E51A7 #774EA7 #A34EA7
triadic
#774EA7 #A7774E #4EA777
tetradic
#774EA7 #A74E51 #7EA74E #4EA7A3
square
#774EA7 #A74E51 #7EA74E #4EA7A3
split-complementary
#774EA7 #A7A34E #51A74E
monochromatic
#3C2754 #593B7D #774EA7 #9674BE #B69ED2
Accessibility & contrast
On white
6.12
#774EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#774EA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774EA7
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774EA7 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3061AA
Deuteranopia (green-blind)
#3C62A5
Tritanopia (blue-blind)
#6E5F73
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #774ea7; /* rgb */ color: rgb(119, 78, 167); /* oklch */ color: oklch(51.0% 0.140 303.0);
Tailwind
colors: {
custom: {
50: '#a181c1',
500: '#774ea7',
950: '#000000',
},
}SCSS
$custom: #774ea7; $custom-light: #a181c1; $custom-dark: #000000;
JSON
{
"hex": "#774ea7",
"rgb": {
"r": 119,
"g": 78,
"b": 167
},
"hsl": {
"h": 267.64,
"s": 36.327,
"l": 48.039
},
"oklch": {
"l": 0.51031,
"c": 0.1401,
"h": 303
},
"luminance": 0.12161
}Semantic roles & 50–950 ramp
primary
#774EA7
secondary
#AABE92
accent
#CC5B98
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81