#604AC7#604AC7
#604AC7 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.4% C 0.186 H 285.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #604AC7 |
|---|---|
| RGB | rgb(96, 74, 199) |
| HSL | hsl(251, 53%, 54%) |
| HSV | hsv(251, 63%, 78%) |
| CMYK | cmyk(51.8%, 62.8%, 0%, 22%) |
| CIE-LAB | lab(40.42, 41.68, -62.31) |
| CIE-LCH | lch(40.42, 74.96, 303.78°) |
| OKLab | oklab(50.4% 0.0502 -0.1787) |
| OKLCH | oklch(50.4% 0.186 285.7) |
| XYZ | xyz(17.5784, 11.5070, 55.3166) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.38
Blue With A Hint Of Purple
#533CC6
ΔE00 3.98
Iris
#6258C4
ΔE00 4.13
Ocean Blue
#4F42B5
ΔE00 4.18
Blurple
#5539CC
ΔE00 4.43
Slate Blue
#6A5ACD
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604AC7 #B1C74A
analogous
#4A72C7 #604AC7 #9E4AC7
triadic
#604AC7 #C7604A #4AC760
tetradic
#604AC7 #C74A72 #B1C74A #4AC79E
square
#604AC7 #C74A72 #B1C74A #4AC79E
split-complementary
#604AC7 #C79E4A #72C74A
monochromatic
#322473 #4632A2 #604AC7 #8979D5 #B2A7E4
Accessibility & contrast
On white
6.36
#604AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#604AC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604AC7
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604AC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604AC7 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#386882
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #604ac7; /* rgb */ color: rgb(96, 74, 199); /* oklch */ color: oklch(50.4% 0.186 285.7);
Tailwind
colors: {
custom: {
50: '#967ed9',
500: '#604ac7',
950: '#000000',
},
}SCSS
$custom: #604ac7; $custom-light: #967ed9; $custom-dark: #000000;
JSON
{
"hex": "#604ac7",
"rgb": {
"r": 96,
"g": 74,
"b": 199
},
"hsl": {
"h": 250.56,
"s": 52.743,
"l": 53.529
},
"oklch": {
"l": 0.504,
"c": 0.18558,
"h": 285.7
},
"luminance": 0.11508
}Semantic roles & 50–950 ramp
primary
#604AC7
secondary
#C8D19C
accent
#DC4CC3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83