#774EA9#774EA9
#774EA9 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.2% C 0.143 H 302.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #774EA9 |
|---|---|
| RGB | rgb(119, 78, 169) |
| HSL | hsl(267, 37%, 48%) |
| HSV | hsv(267, 54%, 66%) |
| CMYK | cmyk(29.6%, 53.8%, 0%, 33.7%) |
| CIE-LAB | lab(41.59, 36.18, -42.71) |
| CIE-LCH | lch(41.59, 55.97, 310.27°) |
| OKLab | oklab(51.16% 0.0765 -0.1204) |
| OKLCH | oklch(51.16% 0.143 302.4) |
| XYZ | xyz(17.4919, 12.2353, 38.9685) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 0.90
Deep Lavender
#8D5EB7
ΔE00 6.58
Purply
#983FB2
ΔE00 7.17
Bluey Purple
#6241C7
ΔE00 7.64
Rebeccapurple
#663399
ΔE00 7.71
Iris
#6258C4
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774EA9 #80A94E
analogous
#4E52A9 #774EA9 #A44EA9
triadic
#774EA9 #A9774E #4EA977
tetradic
#774EA9 #A94E52 #80A94E #4EA9A4
square
#774EA9 #A94E52 #80A94E #4EA9A4
split-complementary
#774EA9 #A9A44E #52A94E
monochromatic
#3C2755 #5A3B7F #774EA9 #9675BF #B69FD3
Accessibility & contrast
On white
6.09
#774EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#774EA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774EA9
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774EA9 | 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)
#2E61AC
Deuteranopia (green-blind)
#3A62A7
Tritanopia (blue-blind)
#6E5F74
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #774ea9; /* rgb */ color: rgb(119, 78, 169); /* oklch */ color: oklch(51.2% 0.143 302.4);
Tailwind
colors: {
custom: {
50: '#a181c3',
500: '#774ea9',
950: '#000000',
},
}SCSS
$custom: #774ea9; $custom-light: #a181c3; $custom-dark: #000000;
JSON
{
"hex": "#774ea9",
"rgb": {
"r": 119,
"g": 78,
"b": 169
},
"hsl": {
"h": 267.033,
"s": 36.842,
"l": 48.431
},
"oklch": {
"l": 0.51156,
"c": 0.14263,
"h": 302.4
},
"luminance": 0.12235
}Semantic roles & 50–950 ramp
primary
#774EA9
secondary
#ACBF93
accent
#CD5B9A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A12
muted
#7F7C81