#7C66FE#7C66FE
#7C66FE is a mid, highly saturated blue. Relative luminance 0.209; OKLCH L 61.3% C 0.217 H 284.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7C66FE |
|---|---|
| RGB | rgb(124, 102, 254) |
| HSL | hsl(249, 99%, 70%) |
| HSV | hsv(249, 60%, 100%) |
| CMYK | cmyk(51.2%, 59.8%, 0%, 0.4%) |
| CIE-LAB | lab(52.89, 47.06, -73.12) |
| CIE-LCH | lch(52.89, 86.95, 302.77°) |
| OKLab | oklab(61.35% 0.0547 -0.2095) |
| OKLCH | oklch(61.35% 0.217 284.6) |
| XYZ | xyz(30.9476, 20.9419, 96.1582) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.10
Purpley
#8756E4
ΔE00 6.26
Cornflower
#6A79F7
ΔE00 6.88
Mediumpurple
#9370DB
ΔE00 7.25
Lighter Purple
#A55AF4
ΔE00 7.67
Dark Periwinkle
#665FD1
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C66FE #E8FE66
analogous
#669CFE #7C66FE #C866FE
triadic
#7C66FE #FE7C66 #66FE7C
tetradic
#7C66FE #FE669C #E8FE66 #66FEC8
square
#7C66FE #FE669C #E8FE66 #66FEC8
split-complementary
#7C66FE #FEC866 #9CFE66
monochromatic
#2302E8 #4829FE #7C66FE #B0A3FE #E4E0FF
Accessibility & contrast
On white
4.05
#7C66FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#7C66FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C66FE
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C66FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C66FE | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#488AA8
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7c66fe; /* rgb */ color: rgb(124, 102, 254); /* oklch */ color: oklch(61.3% 0.217 284.6);
Tailwind
colors: {
custom: {
50: '#ab92ff',
500: '#7c66fe',
950: '#000000',
},
}SCSS
$custom: #7c66fe; $custom-light: #ab92ff; $custom-dark: #000000;
JSON
{
"hex": "#7c66fe",
"rgb": {
"r": 124,
"g": 102,
"b": 254
},
"hsl": {
"h": 248.684,
"s": 98.701,
"l": 69.804
},
"oklch": {
"l": 0.61349,
"c": 0.21655,
"h": 284.6
},
"luminance": 0.20944
}Semantic roles & 50–950 ramp
primary
#7C66FE
secondary
#EFF5CA
accent
#E600C4
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86