#774AC4#774AC4
#774AC4 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.182 H 296.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #774AC4 |
|---|---|
| RGB | rgb(119, 74, 196) |
| HSL | hsl(262, 51%, 53%) |
| HSV | hsv(262, 62%, 77%) |
| CMYK | cmyk(39.3%, 62.2%, 0%, 23.1%) |
| CIE-LAB | lab(42.47, 45.47, -57.14) |
| CIE-LCH | lch(42.47, 73.02, 308.51°) |
| OKLab | oklab(52.36% 0.0814 -0.1627) |
| OKLCH | oklch(52.36% 0.182 296.6) |
| XYZ | xyz(20.0178, 12.8047, 53.6307) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.38
Royal Purple
#7851A9
ΔE00 5.15
Light Indigo
#6D5ACF
ΔE00 5.37
Bluish Purple
#703BE7
ΔE00 5.55
Slate Blue
#6A5ACD
ΔE00 5.58
Iris
#6258C4
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774AC4 #97C44A
analogous
#4A5AC4 #774AC4 #B44AC4
triadic
#774AC4 #C4774A #4AC477
tetradic
#774AC4 #C44A5A #97C44A #4AC4B4
square
#774AC4 #C44A5A #97C44A #4AC4B4
split-complementary
#774AC4 #C4B44A #5AC44A
monochromatic
#40246F #5A339D #774AC4 #9A78D3 #BCA6E2
Accessibility & contrast
On white
5.90
#774AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#774AC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774AC4
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774AC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774AC4 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0363C1
Tritanopia (blue-blind)
#646580
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #774ac4; /* rgb */ color: rgb(119, 74, 196); /* oklch */ color: oklch(52.4% 0.182 296.6);
Tailwind
colors: {
custom: {
50: '#a37fd7',
500: '#774ac4',
950: '#000000',
},
}SCSS
$custom: #774ac4; $custom-light: #a37fd7; $custom-dark: #000000;
JSON
{
"hex": "#774ac4",
"rgb": {
"r": 119,
"g": 74,
"b": 196
},
"hsl": {
"h": 262.131,
"s": 50.833,
"l": 52.941
},
"oklch": {
"l": 0.52355,
"c": 0.18196,
"h": 296.6
},
"luminance": 0.12805
}Semantic roles & 50–950 ramp
primary
#774AC4
secondary
#BCCF9B
accent
#DA4DA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83