#664CD6#664CD6
#664CD6 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.4% C 0.201 H 285.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #664CD6 |
|---|---|
| RGB | rgb(102, 76, 214) |
| HSL | hsl(251, 63%, 57%) |
| HSV | hsv(251, 64%, 84%) |
| CMYK | cmyk(52.3%, 64.5%, 0%, 16.1%) |
| CIE-LAB | lab(42.53, 46.08, -67.50) |
| CIE-LCH | lch(42.53, 81.73, 304.32°) |
| OKLab | oklab(52.42% 0.0548 -0.1937) |
| OKLCH | oklch(52.42% 0.201 285.8) |
| XYZ | xyz(20.1979, 12.8476, 65.0209) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.67
Purpleish Blue
#6140EF
ΔE00 3.80
Light Indigo
#6D5ACF
ΔE00 4.10
Slate Blue
#6A5ACD
ΔE00 4.10
Bluish Purple
#703BE7
ΔE00 4.22
Iris
#6258C4
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664CD6 #BCD64C
analogous
#4C77D6 #664CD6 #AB4CD6
triadic
#664CD6 #D6664C #4CD666
tetradic
#664CD6 #D64C77 #BCD64C #4CD6AB
square
#664CD6 #D64C77 #BCD64C #4CD6AB
split-complementary
#664CD6 #D6AB4C #77D64C
monochromatic
#331F88 #462BBA #664CD6 #917EE1 #BBB0ED
Accessibility & contrast
On white
5.88
#664CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#664CD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664CD6
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664CD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664CD6 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#396E8A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #664cd6; /* rgb */ color: rgb(102, 76, 214); /* oklch */ color: oklch(52.4% 0.201 285.8);
Tailwind
colors: {
custom: {
50: '#9b80e4',
500: '#664cd6',
950: '#000000',
},
}SCSS
$custom: #664cd6; $custom-light: #9b80e4; $custom-dark: #000000;
JSON
{
"hex": "#664cd6",
"rgb": {
"r": 102,
"g": 76,
"b": 214
},
"hsl": {
"h": 251.304,
"s": 62.727,
"l": 56.863
},
"oklch": {
"l": 0.52423,
"c": 0.20134,
"h": 285.8
},
"luminance": 0.12849
}Semantic roles & 50–950 ramp
primary
#664CD6
secondary
#D0DBA3
accent
#E642C7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84