#7E7EF8#7E7EF8
#7E7EF8 is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.2% C 0.177 H 280.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7EF8 |
|---|---|
| RGB | rgb(126, 126, 248) |
| HSL | hsl(240, 90%, 73%) |
| HSV | hsv(240, 49%, 97%) |
| CMYK | cmyk(49.2%, 49.2%, 0%, 2.7%) |
| CIE-LAB | lab(58.16, 31.77, -61.27) |
| CIE-LCH | lch(58.16, 69.02, 297.40°) |
| OKLab | oklab(65.19% 0.0317 -0.1745) |
| OKLCH | oklch(65.19% 0.177 280.3) |
| XYZ | xyz(33.0031, 26.1328, 92.0939) |
| Luminance | 0.2614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.97
Lavender Blue
#8B88F8
ΔE00 3.35
Cornflower
#6A79F7
ΔE00 3.41
Perrywinkle
#8F8CE7
ΔE00 5.65
Mediumslateblue
#7B68EE
ΔE00 6.80
Soft Blue
#6488EA
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7EF8 #F8F87E
analogous
#7EBBF8 #7E7EF8 #BB7EF8
triadic
#7E7EF8 #F87E7E #7EF87E
tetradic
#7E7EF8 #F87EBB #F8F87E #7EF8BB
square
#7E7EF8 #F87EBB #F8F87E #7EF8BB
split-complementary
#7E7EF8 #F8BB7E #BBF87E
monochromatic
#0D0DEF #4444F5 #7E7EF8 #B8B8FB #E2E2FD
Accessibility & contrast
On white
3.37
#7E7EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#7E7EF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7EF8
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7EF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7EF8 | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4591FC
Deuteranopia (green-blind)
#3A87F5
Tritanopia (blue-blind)
#4F99AF
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #7e7ef8; /* rgb */ color: rgb(126, 126, 248); /* oklch */ color: oklch(65.2% 0.177 280.3);
Tailwind
colors: {
custom: {
50: '#aba3fb',
500: '#7e7ef8',
950: '#000000',
},
}SCSS
$custom: #7e7ef8; $custom-light: #aba3fb; $custom-dark: #000000;
JSON
{
"hex": "#7e7ef8",
"rgb": {
"r": 126,
"g": 126,
"b": 248
},
"hsl": {
"h": 240,
"s": 89.706,
"l": 73.333
},
"oklch": {
"l": 0.65185,
"c": 0.17737,
"h": 280.3
},
"luminance": 0.26135
}Semantic roles & 50–950 ramp
primary
#7E7EF8
secondary
#F6F6D5
accent
#E600E5
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85