#774AC7#774AC7
#774AC7 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.186 H 295.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #774AC7 |
|---|---|
| RGB | rgb(119, 74, 199) |
| HSL | hsl(262, 53%, 54%) |
| HSV | hsv(262, 63%, 78%) |
| CMYK | cmyk(40.2%, 62.8%, 0%, 22%) |
| CIE-LAB | lab(42.68, 46.27, -58.54) |
| CIE-LCH | lch(42.68, 74.62, 308.32°) |
| OKLab | oklab(52.57% 0.0812 -0.1669) |
| OKLCH | oklch(52.57% 0.186 295.9) |
| XYZ | xyz(20.3626, 12.9426, 55.4471) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.30
Light Indigo
#6D5ACF
ΔE00 5.18
Bluish Purple
#703BE7
ΔE00 5.18
Slate Blue
#6A5ACD
ΔE00 5.41
Royal Purple
#7851A9
ΔE00 5.57
Iris
#6258C4
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774AC7 #9AC74A
analogous
#4A5BC7 #774AC7 #B54AC7
triadic
#774AC7 #C7774A #4AC777
tetradic
#774AC7 #C74A5B #9AC74A #4AC7B5
square
#774AC7 #C74A5B #9AC74A #4AC7B5
split-complementary
#774AC7 #C7B54A #5BC74A
monochromatic
#402473 #5A32A2 #774AC7 #9A79D5 #BDA7E4
Accessibility & contrast
On white
5.85
#774AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#774AC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774AC7
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774AC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774AC7 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#636682
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #774ac7; /* rgb */ color: rgb(119, 74, 199); /* oklch */ color: oklch(52.6% 0.186 295.9);
Tailwind
colors: {
custom: {
50: '#a47fd9',
500: '#774ac7',
950: '#000000',
},
}SCSS
$custom: #774ac7; $custom-light: #a47fd9; $custom-dark: #000000;
JSON
{
"hex": "#774ac7",
"rgb": {
"r": 119,
"g": 74,
"b": 199
},
"hsl": {
"h": 261.6,
"s": 52.743,
"l": 53.529
},
"oklch": {
"l": 0.52573,
"c": 0.18556,
"h": 295.9
},
"luminance": 0.12943
}Semantic roles & 50–950 ramp
primary
#774AC7
secondary
#BED19C
accent
#DC4CA8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83