#664ABE#664ABE
#664ABE is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.2% C 0.174 H 289.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #664ABE |
|---|---|
| RGB | rgb(102, 74, 190) |
| HSL | hsl(254, 47%, 52%) |
| HSV | hsv(254, 61%, 75%) |
| CMYK | cmyk(46.3%, 61.1%, 0%, 25.5%) |
| CIE-LAB | lab(40.31, 40.20, -57.22) |
| CIE-LCH | lch(40.31, 69.93, 305.09°) |
| OKLab | oklab(50.24% 0.0588 -0.1635) |
| OKLCH | oklch(50.24% 0.174 289.8) |
| XYZ | xyz(17.2199, 11.4394, 50.0059) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.69
Ocean Blue
#4F42B5
ΔE00 4.42
Iris
#6258C4
ΔE00 4.45
Blue With A Hint Of Purple
#533CC6
ΔE00 4.68
Slate Blue
#6A5ACD
ΔE00 5.17
Blurple
#5539CC
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664ABE #A2BE4A
analogous
#4A68BE #664ABE #A04ABE
triadic
#664ABE #BE664A #4ABE66
tetradic
#664ABE #BE4A68 #A2BE4A #4ABEA0
square
#664ABE #BE4A68 #A2BE4A #4ABEA0
split-complementary
#664ABE #BEA04A #68BE4A
monochromatic
#362568 #4D3695 #664ABE #8C77CE #B2A4DE
Accessibility & contrast
On white
6.39
#664ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#664ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664ABE
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664ABE | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#4B657D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #664abe; /* rgb */ color: rgb(102, 74, 190); /* oklch */ color: oklch(50.2% 0.174 289.8);
Tailwind
colors: {
custom: {
50: '#987ed2',
500: '#664abe',
950: '#000000',
},
}SCSS
$custom: #664abe; $custom-light: #987ed2; $custom-dark: #000000;
JSON
{
"hex": "#664abe",
"rgb": {
"r": 102,
"g": 74,
"b": 190
},
"hsl": {
"h": 254.483,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.50244,
"c": 0.17377,
"h": 289.8
},
"luminance": 0.1144
}Semantic roles & 50–950 ramp
primary
#664ABE
secondary
#BFCB98
accent
#D751B6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83