#7E8FF5#7E8FF5
#7E8FF5 is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.2% C 0.151 H 274.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8FF5 |
|---|---|
| RGB | rgb(126, 143, 245) |
| HSL | hsl(231, 86%, 73%) |
| HSV | hsv(231, 49%, 96%) |
| CMYK | cmyk(48.6%, 41.6%, 0%, 3.9%) |
| CIE-LAB | lab(62.23, 20.86, -53.13) |
| CIE-LCH | lch(62.23, 57.08, 291.43°) |
| OKLab | oklab(68.22% 0.012 -0.1505) |
| OKLCH | oklch(68.22% 0.151 274.6) |
| XYZ | xyz(34.9029, 30.6710, 90.4494) |
| Luminance | 0.3067 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 3.62
Lavender Blue
#8B88F8
ΔE00 4.00
Soft Blue
#6488EA
ΔE00 4.78
Perrywinkle
#8F8CE7
ΔE00 4.81
Periwinkle (survey)
#8E82FE
ΔE00 5.97
Cornflowerblue
#6495ED
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8FF5 #F5E47E
analogous
#7ECAF5 #7E8FF5 #A97EF5
triadic
#7E8FF5 #F57E8F #8FF57E
tetradic
#7E8FF5 #F57ECA #F5E47E #7EF5A9
square
#7E8FF5 #F57ECA #F5E47E #7EF5A9
split-complementary
#7E8FF5 #F5A97E #CAF57E
monochromatic
#1230E7 #455EF1 #7E8FF5 #B7C0F9 #E3E6FD
Accessibility & contrast
On white
2.94
#7E8FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#7E8FF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7E8FF5
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8FF5 | 1.00 | 2.94 | 7.13 | 7.13 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669CF9
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#4FA5B6
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #7e8ff5; /* rgb */ color: rgb(126, 143, 245); /* oklch */ color: oklch(68.2% 0.151 274.6);
Tailwind
colors: {
custom: {
50: '#aaaff9',
500: '#7e8ff5',
950: '#000000',
},
}SCSS
$custom: #7e8ff5; $custom-light: #aaaff9; $custom-dark: #000000;
JSON
{
"hex": "#7e8ff5",
"rgb": {
"r": 126,
"g": 143,
"b": 245
},
"hsl": {
"h": 231.429,
"s": 85.612,
"l": 72.745
},
"oklch": {
"l": 0.68217,
"c": 0.15099,
"h": 274.6
},
"luminance": 0.30673
}Semantic roles & 50–950 ramp
primary
#7E8FF5
secondary
#F5F0D6
accent
#C203E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85