#664FCF#664FCF
#664FCF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.189 H 286.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #664FCF |
|---|---|
| RGB | rgb(102, 79, 207) |
| HSL | hsl(251, 57%, 56%) |
| HSV | hsv(251, 62%, 81%) |
| CMYK | cmyk(50.7%, 61.8%, 0%, 18.8%) |
| CIE-LAB | lab(42.64, 42.30, -63.30) |
| CIE-LCH | lch(42.64, 76.13, 303.75°) |
| OKLab | oklab(52.34% 0.0525 -0.1814) |
| OKLCH | oklch(52.34% 0.189 286.1) |
| XYZ | xyz(19.5346, 12.9208, 60.4840) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 3.22
Iris
#6258C4
ΔE00 3.24
Light Indigo
#6D5ACF
ΔE00 3.31
Bluey Purple
#6241C7
ΔE00 3.91
Dark Periwinkle
#665FD1
ΔE00 4.82
Purpleish Blue
#6140EF
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664FCF #B8CF4F
analogous
#4F78CF #664FCF #A64FCF
triadic
#664FCF #CF664F #4FCF66
tetradic
#664FCF #CF4F78 #B8CF4F #4FCFA6
square
#664FCF #CF4F78 #B8CF4F #4FCFA6
split-complementary
#664FCF #CFA64F #78CF4F
monochromatic
#342381 #4730B1 #664FCF #907FDC #BAAFE9
Accessibility & contrast
On white
5.86
#664FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#664FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664FCF
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664FCF | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#3F6E88
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #664fcf; /* rgb */ color: rgb(102, 79, 207); /* oklch */ color: oklch(52.3% 0.189 286.1);
Tailwind
colors: {
custom: {
50: '#9a81df',
500: '#664fcf',
950: '#000000',
},
}SCSS
$custom: #664fcf; $custom-light: #9a81df; $custom-dark: #000000;
JSON
{
"hex": "#664fcf",
"rgb": {
"r": 102,
"g": 79,
"b": 207
},
"hsl": {
"h": 250.781,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.52338,
"c": 0.18881,
"h": 286.1
},
"luminance": 0.12922
}Semantic roles & 50–950 ramp
primary
#664FCF
secondary
#CED7A2
accent
#E047C5
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83