#664FD9#664FD9
#664FD9 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.1% C 0.201 H 284.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #664FD9 |
|---|---|
| RGB | rgb(102, 79, 217) |
| HSL | hsl(250, 64%, 58%) |
| HSV | hsv(250, 64%, 85%) |
| CMYK | cmyk(53%, 63.6%, 0%, 14.9%) |
| CIE-LAB | lab(43.40, 45.27, -67.81) |
| CIE-LCH | lch(43.40, 81.53, 303.72°) |
| OKLab | oklab(53.12% 0.0516 -0.1946) |
| OKLCH | oklch(53.12% 0.201 284.9) |
| XYZ | xyz(20.7961, 13.4254, 67.1277) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.47
Slate Blue
#6A5ACD
ΔE00 3.50
Iris
#6258C4
ΔE00 4.01
Purpleish Blue
#6140EF
ΔE00 4.07
Bluey Purple
#6241C7
ΔE00 4.59
Bluish Purple
#703BE7
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664FD9 #C2D94F
analogous
#4F7DD9 #664FD9 #AB4FD9
triadic
#664FD9 #D9664F #4FD966
tetradic
#664FD9 #D94F7D #C2D94F #4FD9AB
square
#664FD9 #D94F7D #C2D94F #4FD9AB
split-complementary
#664FD9 #D9AB4F #7DD94F
monochromatic
#311F8F #432AC1 #664FD9 #9281E4 #BEB4EF
Accessibility & contrast
On white
5.70
#664FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#664FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664FD9
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664FD9 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#36718D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #664fd9; /* rgb */ color: rgb(102, 79, 217); /* oklch */ color: oklch(53.1% 0.201 284.9);
Tailwind
colors: {
custom: {
50: '#9b82e6',
500: '#664fd9',
950: '#000000',
},
}SCSS
$custom: #664fd9; $custom-light: #9b82e6; $custom-dark: #000000;
JSON
{
"hex": "#664fd9",
"rgb": {
"r": 102,
"g": 79,
"b": 217
},
"hsl": {
"h": 250,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.53122,
"c": 0.20137,
"h": 284.9
},
"luminance": 0.13426
}Semantic roles & 50–950 ramp
primary
#664FD9
secondary
#D4DDA6
accent
#E740CC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84