#664BE4#664BE4
#664BE4 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.4% C 0.220 H 284.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #664BE4 |
|---|---|
| RGB | rgb(102, 75, 228) |
| HSL | hsl(251, 74%, 59%) |
| HSV | hsv(251, 67%, 89%) |
| CMYK | cmyk(55.3%, 67.1%, 0%, 10.6%) |
| CIE-LAB | lab(43.44, 50.75, -74.00) |
| CIE-LCH | lch(43.44, 89.73, 304.44°) |
| OKLab | oklab(53.43% 0.0539 -0.2128) |
| OKLCH | oklch(53.43% 0.22 284.2) |
| XYZ | xyz(21.9949, 13.4571, 74.8222) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.62
Bluish Purple
#703BE7
ΔE00 3.61
Light Indigo
#6D5ACF
ΔE00 4.83
Bluey Purple
#6241C7
ΔE00 4.93
Slate Blue
#6A5ACD
ΔE00 4.94
Purpley Blue
#5F34E7
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664BE4 #C9E44B
analogous
#4B7DE4 #664BE4 #B24BE4
triadic
#664BE4 #E4664B #4BE466
tetradic
#664BE4 #E44B7D #C9E44B #4BE4B2
square
#664BE4 #E44B7D #C9E44B #4BE4B2
split-complementary
#664BE4 #E4B24B #7DE44B
monochromatic
#2F189D #3F20D2 #664BE4 #9380EC #C0B5F4
Accessibility & contrast
On white
5.69
#664BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#664BE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664BE4
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664BE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664BE4 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0062E1
Tritanopia (blue-blind)
#2A7291
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #664be4; /* rgb */ color: rgb(102, 75, 228); /* oklch */ color: oklch(53.4% 0.220 284.2);
Tailwind
colors: {
custom: {
50: '#9d7fee',
500: '#664be4',
950: '#000000',
},
}SCSS
$custom: #664be4; $custom-light: #9d7fee; $custom-dark: #000000;
JSON
{
"hex": "#664be4",
"rgb": {
"r": 102,
"g": 75,
"b": 228
},
"hsl": {
"h": 250.588,
"s": 73.913,
"l": 59.412
},
"oklch": {
"l": 0.53427,
"c": 0.21954,
"h": 284.2
},
"luminance": 0.13458
}Semantic roles & 50–950 ramp
primary
#664BE4
secondary
#D9E3A8
accent
#F137D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84