#664BCD#664BCD
#664BCD is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.6% C 0.191 H 287.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #664BCD |
|---|---|
| RGB | rgb(102, 75, 205) |
| HSL | hsl(252, 57%, 55%) |
| HSV | hsv(252, 63%, 80%) |
| CMYK | cmyk(50.2%, 63.4%, 0%, 19.6%) |
| CIE-LAB | lab(41.63, 44.00, -63.79) |
| CIE-LCH | lch(41.63, 77.49, 304.60°) |
| OKLab | oklab(51.55% 0.0567 -0.1828) |
| OKLCH | oklch(51.55% 0.191 287.2) |
| XYZ | xyz(19.0118, 12.2638, 59.1112) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.79
Iris
#6258C4
ΔE00 4.13
Slate Blue
#6A5ACD
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 4.36
Purpleish Blue
#6140EF
ΔE00 4.68
Bluish Purple
#703BE7
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664BCD #B2CD4B
analogous
#4B71CD #664BCD #A74BCD
triadic
#664BCD #CD664B #4BCD66
tetradic
#664BCD #CD4B71 #B2CD4B #4BCDA7
square
#664BCD #CD4B71 #B2CD4B #4BCDA7
split-complementary
#664BCD #CDA74B #71CD4B
monochromatic
#35227B #4930AB #664BCD #8F7BDA #B7ABE8
Accessibility & contrast
On white
6.08
#664BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#664BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664BCD
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664BCD | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#416A85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #664bcd; /* rgb */ color: rgb(102, 75, 205); /* oklch */ color: oklch(51.6% 0.191 287.2);
Tailwind
colors: {
custom: {
50: '#9a7fdd',
500: '#664bcd',
950: '#000000',
},
}SCSS
$custom: #664bcd; $custom-light: #9a7fdd; $custom-dark: #000000;
JSON
{
"hex": "#664bcd",
"rgb": {
"r": 102,
"g": 75,
"b": 205
},
"hsl": {
"h": 252.462,
"s": 56.522,
"l": 54.902
},
"oklch": {
"l": 0.51555,
"c": 0.19141,
"h": 287.2
},
"luminance": 0.12265
}Semantic roles & 50–950 ramp
primary
#664BCD
secondary
#CAD59F
accent
#E048C0
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83