#8B87BB#8B87BB
#8B87BB is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.6% C 0.077 H 287.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8B87BB |
|---|---|
| RGB | rgb(139, 135, 187) |
| HSL | hsl(245, 28%, 63%) |
| HSV | hsv(245, 28%, 73%) |
| CMYK | cmyk(25.7%, 27.8%, 0%, 26.7%) |
| CIE-LAB | lab(58.42, 13.02, -26.62) |
| CIE-LCH | lch(58.42, 29.63, 296.07°) |
| OKLab | oklab(64.65% 0.0233 -0.0735) |
| OKLCH | oklch(64.65% 0.077 287.6) |
| XYZ | xyz(28.2788, 26.4043, 50.6107) |
| Luminance | 0.2641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 8.15
Wisteria
#A87DC2
ΔE00 9.09
Heather
#A484AC
ΔE00 9.50
Lavender
#B39DDB
ΔE00 9.58
Deep Lilac
#966EBD
ΔE00 9.93
Pale Purple
#B790D4
ΔE00 10.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B87BB #B7BB87
analogous
#879DBB #8B87BB #A587BB
triadic
#8B87BB #BB8B87 #87BB8B
tetradic
#8B87BB #BB879D #B7BB87 #87BBA5
square
#8B87BB #BB879D #B7BB87 #87BBA5
split-complementary
#8B87BB #BBA587 #9DBB87
monochromatic
#4C487F #6560A5 #8B87BB #B1AED1 #D7D5E7
Accessibility & contrast
On white
3.34
#8B87BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#8B87BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8B87BB
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B87BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8B87BB | 1.00 | 3.34 | 6.28 | 6.28 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#798EBD
Deuteranopia (green-blind)
#798BBA
Tritanopia (blue-blind)
#809099
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8b87bb; /* rgb */ color: rgb(139, 135, 187); /* oklch */ color: oklch(64.6% 0.077 287.6);
Tailwind
colors: {
custom: {
50: '#aeaacf',
500: '#8b87bb',
950: '#000000',
},
}SCSS
$custom: #8b87bb; $custom-light: #aeaacf; $custom-dark: #000000;
JSON
{
"hex": "#8b87bb",
"rgb": {
"r": 139,
"g": 135,
"b": 187
},
"hsl": {
"h": 244.615,
"s": 27.66,
"l": 63.137
},
"oklch": {
"l": 0.64648,
"c": 0.07709,
"h": 287.6
},
"luminance": 0.26405
}Semantic roles & 50–950 ramp
primary
#8B87BB
secondary
#D7D8C6
accent
#A63F9E
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82