#664FD4#664FD4
#664FD4 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.195 H 285.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #664FD4 |
|---|---|
| RGB | rgb(102, 79, 212) |
| HSL | hsl(250, 61%, 57%) |
| HSV | hsv(250, 63%, 83%) |
| CMYK | cmyk(51.9%, 62.7%, 0%, 16.9%) |
| CIE-LAB | lab(43.02, 43.78, -65.57) |
| CIE-LCH | lch(43.02, 78.84, 303.73°) |
| OKLab | oklab(52.73% 0.0521 -0.188) |
| OKLCH | oklch(52.73% 0.195 285.5) |
| XYZ | xyz(20.1556, 13.1692, 63.7544) |
| Luminance | 0.1317 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 3.30
Light Indigo
#6D5ACF
ΔE00 3.33
Iris
#6258C4
ΔE00 3.59
Bluey Purple
#6241C7
ΔE00 4.21
Purpleish Blue
#6140EF
ΔE00 4.49
Dark Periwinkle
#665FD1
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664FD4 #BDD44F
analogous
#4F7BD4 #664FD4 #A94FD4
triadic
#664FD4 #D4664F #4FD466
tetradic
#664FD4 #D44F7B #BDD44F #4FD4A9
square
#664FD4 #D44F7B #BDD44F #4FD4A9
split-complementary
#664FD4 #D4A94F #7BD44F
monochromatic
#332187 #452DB9 #664FD4 #9180E0 #BCB1EC
Accessibility & contrast
On white
5.78
#664FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#664FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664FD4
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664FD4 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#3B6F8A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #664fd4; /* rgb */ color: rgb(102, 79, 212); /* oklch */ color: oklch(52.7% 0.195 285.5);
Tailwind
colors: {
custom: {
50: '#9b81e2',
500: '#664fd4',
950: '#000000',
},
}SCSS
$custom: #664fd4; $custom-light: #9b81e2; $custom-dark: #000000;
JSON
{
"hex": "#664fd4",
"rgb": {
"r": 102,
"g": 79,
"b": 212
},
"hsl": {
"h": 250.376,
"s": 60.731,
"l": 57.059
},
"oklch": {
"l": 0.52727,
"c": 0.19513,
"h": 285.5
},
"luminance": 0.1317
}Semantic roles & 50–950 ramp
primary
#664FD4
secondary
#D1DAA4
accent
#E444C8
background
#FAF8FE
surface
#F3EFFC
border
#CDCAD5
text
#0F0A15
muted
#7F7C84