#8E87BB#8E87BB
#8E87BB is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.9% C 0.077 H 290.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8E87BB |
|---|---|
| RGB | rgb(142, 135, 187) |
| HSL | hsl(248, 28%, 63%) |
| HSV | hsv(248, 28%, 73%) |
| CMYK | cmyk(24.1%, 27.8%, 0%, 26.7%) |
| CIE-LAB | lab(58.66, 13.95, -26.22) |
| CIE-LCH | lch(58.66, 29.70, 298.02°) |
| OKLab | oklab(64.9% 0.0267 -0.0723) |
| OKLCH | oklch(64.9% 0.077 290.2) |
| XYZ | xyz(28.7868, 26.6662, 50.6345) |
| Luminance | 0.2667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Wisteria
#A87DC2
ΔE00 8.33
Perrywinkle
#8F8CE7
ΔE00 8.52
Heather
#A484AC
ΔE00 8.66
Lavender
#B39DDB
ΔE00 9.07
Pale Purple
#B790D4
ΔE00 9.41
Deep Lilac
#966EBD
ΔE00 9.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E87BB #B4BB87
analogous
#879ABB #8E87BB #A887BB
triadic
#8E87BB #BB8E87 #87BB8E
tetradic
#8E87BB #BB879A #B4BB87 #87BBA8
square
#8E87BB #BB879A #B4BB87 #87BBA8
split-complementary
#8E87BB #BBA887 #9ABB87
monochromatic
#50487F #6960A5 #8E87BB #B3AED1 #D8D5E7
Accessibility & contrast
On white
3.32
#8E87BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#8E87BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E87BB
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E87BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E87BB | 1.00 | 3.32 | 6.33 | 6.33 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A8EBD
Deuteranopia (green-blind)
#7A8CBA
Tritanopia (blue-blind)
#849099
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8e87bb; /* rgb */ color: rgb(142, 135, 187); /* oklch */ color: oklch(64.9% 0.077 290.2);
Tailwind
colors: {
custom: {
50: '#b0aacf',
500: '#8e87bb',
950: '#000000',
},
}SCSS
$custom: #8e87bb; $custom-light: #b0aacf; $custom-dark: #000000;
JSON
{
"hex": "#8e87bb",
"rgb": {
"r": 142,
"g": 135,
"b": 187
},
"hsl": {
"h": 248.077,
"s": 27.66,
"l": 63.137
},
"oklch": {
"l": 0.64897,
"c": 0.07708,
"h": 290.2
},
"luminance": 0.26667
}Semantic roles & 50–950 ramp
primary
#8E87BB
secondary
#D6D8C6
accent
#A63F98
background
#FAFAFC
surface
#F5F4F9
border
#CFCED2
text
#101014
muted
#7F7F82