#7E7EF2#7E7EF2
#7E7EF2 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.8% C 0.169 H 280.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7EF2 |
|---|---|
| RGB | rgb(126, 126, 242) |
| HSL | hsl(240, 82%, 72%) |
| HSV | hsv(240, 48%, 95%) |
| CMYK | cmyk(47.9%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(57.81, 29.98, -58.51) |
| CIE-LCH | lch(57.81, 65.75, 297.13°) |
| OKLab | oklab(64.81% 0.0311 -0.1664) |
| OKLCH | oklch(64.81% 0.169 280.6) |
| XYZ | xyz(32.0872, 25.7664, 87.2699) |
| Luminance | 0.2577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.24
Lavender Blue
#8B88F8
ΔE00 3.40
Cornflower
#6A79F7
ΔE00 3.49
Perrywinkle
#8F8CE7
ΔE00 5.29
Mediumslateblue
#7B68EE
ΔE00 6.71
Soft Blue
#6488EA
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7EF2 #F2F27E
analogous
#7EB8F2 #7E7EF2 #B87EF2
triadic
#7E7EF2 #F27E7E #7EF27E
tetradic
#7E7EF2 #F27EB8 #F2F27E #7EF2B8
square
#7E7EF2 #F27EB8 #F2F27E #7EF2B8
split-complementary
#7E7EF2 #F2B87E #B8F27E
monochromatic
#1616DF #4646EC #7E7EF2 #B6B6F8 #E3E3FC
Accessibility & contrast
On white
3.41
#7E7EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#7E7EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7EF2
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7EF2 | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8FF6
Deuteranopia (green-blind)
#4287EF
Tritanopia (blue-blind)
#5397AC
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #7e7ef2; /* rgb */ color: rgb(126, 126, 242); /* oklch */ color: oklch(64.8% 0.169 280.6);
Tailwind
colors: {
custom: {
50: '#aaa3f7',
500: '#7e7ef2',
950: '#000000',
},
}SCSS
$custom: #7e7ef2; $custom-light: #aaa3f7; $custom-dark: #000000;
JSON
{
"hex": "#7e7ef2",
"rgb": {
"r": 126,
"g": 126,
"b": 242
},
"hsl": {
"h": 240,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.64811,
"c": 0.16928,
"h": 280.6
},
"luminance": 0.25768
}Semantic roles & 50–950 ramp
primary
#7E7EF2
secondary
#F4F4D7
accent
#DE07DE
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#100F17
muted
#7F7F85