#9E8DFD#9E8DFD
#9E8DFD is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.7% C 0.160 H 288.6°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8DFD |
|---|---|
| RGB | rgb(158, 141, 253) |
| HSL | hsl(249, 97%, 77%) |
| HSV | hsv(249, 44%, 99%) |
| CMYK | cmyk(37.5%, 44.3%, 0%, 0.8%) |
| CIE-LAB | lab(64.49, 31.92, -53.78) |
| CIE-LCH | lch(64.49, 62.54, 300.69°) |
| OKLab | oklab(70.66% 0.051 -0.1517) |
| OKLCH | oklch(70.66% 0.16 288.6) |
| XYZ | xyz(41.3502, 33.4095, 97.1795) |
| Luminance | 0.3341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 3.64
Periwinkle (survey)
#8E82FE
ΔE00 3.90
Perrywinkle
#8F8CE7
ΔE00 4.01
Periwinkle Blue
#8F99FB
ΔE00 5.60
Liliac
#C48EFD
ΔE00 7.77
Mediumpurple
#9370DB
ΔE00 9.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8DFD #ECFD8D
analogous
#8DB4FD #9E8DFD #D68DFD
triadic
#9E8DFD #FD9E8D #8DFD9E
tetradic
#9E8DFD #FD8DB4 #ECFD8D #8DFDD6
square
#9E8DFD #FD8DB4 #ECFD8D #8DFDD6
split-complementary
#9E8DFD #FDD68D #B4FD8D
monochromatic
#3815FB #6B51FC #9E8DFD #D1C9FE #E5E1FE
Accessibility & contrast
On white
2.73
#9E8DFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#9E8DFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E8DFD
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8DFD | 1.00 | 2.73 | 7.68 | 7.68 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#659AFA
Tritanopia (blue-blind)
#85A3B9
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #9e8dfd; /* rgb */ color: rgb(158, 141, 253); /* oklch */ color: oklch(70.7% 0.160 288.6);
Tailwind
colors: {
custom: {
50: '#beaefe',
500: '#9e8dfd',
950: '#000000',
},
}SCSS
$custom: #9e8dfd; $custom-light: #beaefe; $custom-dark: #000000;
JSON
{
"hex": "#9e8dfd",
"rgb": {
"r": 158,
"g": 141,
"b": 253
},
"hsl": {
"h": 249.107,
"s": 96.552,
"l": 77.255
},
"oklch": {
"l": 0.70658,
"c": 0.16005,
"h": 288.6
},
"luminance": 0.33411
}Semantic roles & 50–950 ramp
primary
#9E8DFD
secondary
#F2F7D4
accent
#E600C3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121018
muted
#817F86