#8E8AEE#8E8AEE
#8E8AEE is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.0% C 0.145 H 283.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8AEE |
|---|---|
| RGB | rgb(142, 138, 238) |
| HSL | hsl(242, 75%, 74%) |
| HSV | hsv(242, 42%, 93%) |
| CMYK | cmyk(40.3%, 42%, 0%, 6.7%) |
| CIE-LAB | lab(61.74, 25.58, -49.98) |
| CIE-LCH | lch(61.74, 56.14, 297.10°) |
| OKLab | oklab(68.01% 0.0342 -0.141) |
| OKLCH | oklch(68.01% 0.145 283.7) |
| XYZ | xyz(35.6720, 30.0994, 84.8026) |
| Luminance | 0.3010 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 1.34
Lavender Blue
#8B88F8
ΔE00 1.76
Periwinkle (survey)
#8E82FE
ΔE00 3.41
Periwinkle Blue
#8F99FB
ΔE00 4.83
Cornflower
#6A79F7
ΔE00 7.50
Soft Blue
#6488EA
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8AEE #EAEE8A
analogous
#8AB8EE #8E8AEE #C08AEE
triadic
#8E8AEE #EE8E8A #8AEE8E
tetradic
#8E8AEE #EE8AB8 #EAEE8A #8AEEC0
square
#8E8AEE #EE8AB8 #EAEE8A #8AEEC0
split-complementary
#8E8AEE #EEC08A #B8EE8A
monochromatic
#2820DD #5A55E6 #8E8AEE #C2BFF6 #E5E4FB
Accessibility & contrast
On white
2.99
#8E8AEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#8E8AEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8E8AEE
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8AEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8AEE | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#6292EC
Tritanopia (blue-blind)
#729EB0
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #8e8aee; /* rgb */ color: rgb(142, 138, 238); /* oklch */ color: oklch(68.0% 0.145 283.7);
Tailwind
colors: {
custom: {
50: '#b3acf4',
500: '#8e8aee',
950: '#000000',
},
}SCSS
$custom: #8e8aee; $custom-light: #b3acf4; $custom-dark: #000000;
JSON
{
"hex": "#8e8aee",
"rgb": {
"r": 142,
"g": 138,
"b": 238
},
"hsl": {
"h": 242.4,
"s": 74.627,
"l": 73.725
},
"oklch": {
"l": 0.68013,
"c": 0.14507,
"h": 283.7
},
"luminance": 0.30101
}Semantic roles & 50–950 ramp
primary
#8E8AEE
secondary
#F2F3D8
accent
#D70FCF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85