#7E66FB#7E66FB
#7E66FB is a mid, highly saturated blue. Relative luminance 0.209; OKLCH L 61.3% C 0.213 H 285.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7E66FB |
|---|---|
| RGB | rgb(126, 102, 251) |
| HSL | hsl(250, 95%, 69%) |
| HSV | hsv(250, 59%, 98%) |
| CMYK | cmyk(49.8%, 59.4%, 0%, 1.6%) |
| CIE-LAB | lab(52.84, 46.56, -71.52) |
| CIE-LCH | lch(52.84, 85.34, 303.07°) |
| OKLab | oklab(61.29% 0.0573 -0.2048) |
| OKLCH | oklch(61.29% 0.213 285.6) |
| XYZ | xyz(30.7630, 20.9019, 93.6616) |
| Luminance | 0.2090 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.81
Purpley
#8756E4
ΔE00 5.92
Mediumpurple
#9370DB
ΔE00 6.82
Cornflower
#6A79F7
ΔE00 7.07
Lighter Purple
#A55AF4
ΔE00 7.33
Dark Periwinkle
#665FD1
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E66FB #E3FB66
analogous
#6699FB #7E66FB #C866FB
triadic
#7E66FB #FB7E66 #66FB7E
tetradic
#7E66FB #FB6699 #E3FB66 #66FBC8
square
#7E66FB #FB6699 #E3FB66 #66FBC8
split-complementary
#7E66FB #FBC866 #99FB66
monochromatic
#2906E1 #4C2AF9 #7E66FB #B0A2FD #E3DDFE
Accessibility & contrast
On white
4.05
#7E66FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#7E66FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E66FB
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E66FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E66FB | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007AF8
Tritanopia (blue-blind)
#5089A7
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7e66fb; /* rgb */ color: rgb(126, 102, 251); /* oklch */ color: oklch(61.3% 0.213 285.6);
Tailwind
colors: {
custom: {
50: '#ac92fe',
500: '#7e66fb',
950: '#000000',
},
}SCSS
$custom: #7e66fb; $custom-light: #ac92fe; $custom-dark: #000000;
JSON
{
"hex": "#7e66fb",
"rgb": {
"r": 126,
"g": 102,
"b": 251
},
"hsl": {
"h": 249.664,
"s": 94.904,
"l": 69.216
},
"oklch": {
"l": 0.61292,
"c": 0.21263,
"h": 285.6
},
"luminance": 0.20903
}Semantic roles & 50–950 ramp
primary
#7E66FB
secondary
#EDF4C9
accent
#E600C1
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86