#664CF7#664CF7
#664CF7 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 55.2% C 0.241 H 282.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #664CF7 |
|---|---|
| RGB | rgb(102, 76, 247) |
| HSL | hsl(249, 91%, 63%) |
| HSV | hsv(249, 69%, 97%) |
| CMYK | cmyk(58.7%, 69.2%, 0%, 3.1%) |
| CIE-LAB | lab(45.23, 55.78, -81.78) |
| CIE-LCH | lch(45.23, 98.99, 304.30°) |
| OKLab | oklab(55.2% 0.0501 -0.2356) |
| OKLCH | oklch(55.2% 0.241 282) |
| XYZ | xyz(24.8472, 14.7074, 89.5071) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.27
Bluish Purple
#703BE7
ΔE00 4.64
Light Indigo
#6D5ACF
ΔE00 6.00
Purpley
#8756E4
ΔE00 6.07
Purpley Blue
#5F34E7
ΔE00 6.11
Warm Blue
#4B57DB
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664CF7 #DDF74C
analogous
#4C87F7 #664CF7 #BB4CF7
triadic
#664CF7 #F7664C #4CF766
tetradic
#664CF7 #F74C87 #DDF74C #4CF7BB
square
#664CF7 #F74C87 #DDF74C #4CF7BB
split-complementary
#664CF7 #F7BB4C #87F74C
monochromatic
#2409C0 #3411F4 #664CF7 #9887FA #CAC1FC
Accessibility & contrast
On white
5.33
#664CF7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#664CF7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664CF7
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664CF7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664CF7 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071FC
Deuteranopia (green-blind)
#0065F4
Tritanopia (blue-blind)
#007A9C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #664cf7; /* rgb */ color: rgb(102, 76, 247); /* oklch */ color: oklch(55.2% 0.241 282.0);
Tailwind
colors: {
custom: {
50: '#a080fb',
500: '#664cf7',
950: '#000000',
},
}SCSS
$custom: #664cf7; $custom-light: #a080fb; $custom-dark: #000000;
JSON
{
"hex": "#664cf7",
"rgb": {
"r": 102,
"g": 76,
"b": 247
},
"hsl": {
"h": 249.123,
"s": 91.444,
"l": 63.333
},
"oklch": {
"l": 0.55196,
"c": 0.2409,
"h": 282
},
"luminance": 0.14709
}Semantic roles & 50–950 ramp
primary
#664CF7
secondary
#E5EEB1
accent
#E600C3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86