#8A87B5#8A87B5
#8A87B5 is a light, moderate blue. Relative luminance 0.261; OKLCH L 64.3% C 0.068 H 287.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8A87B5 |
|---|---|
| RGB | rgb(138, 135, 181) |
| HSL | hsl(244, 24%, 62%) |
| HSV | hsv(244, 25%, 71%) |
| CMYK | cmyk(23.8%, 25.4%, 0%, 29%) |
| CIE-LAB | lab(58.10, 11.24, -23.70) |
| CIE-LCH | lch(58.10, 26.23, 295.36°) |
| OKLab | oklab(64.3% 0.0203 -0.0652) |
| OKLCH | oklch(64.3% 0.068 287.3) |
| XYZ | xyz(27.4837, 26.0670, 47.2905) |
| Luminance | 0.2607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Heather
#A484AC
ΔE00 9.17
Perrywinkle
#8F8CE7
ΔE00 9.46
Wisteria
#A87DC2
ΔE00 9.64
Lavender
#B39DDB
ΔE00 10.16
Deep Lilac
#966EBD
ΔE00 10.55
Purpley Grey
#947E94
ΔE00 10.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A87B5 #B2B587
analogous
#879BB5 #8A87B5 #A187B5
triadic
#8A87B5 #B58A87 #87B58A
tetradic
#8A87B5 #B5879B #B2B587 #87B5A1
square
#8A87B5 #B5879B #B2B587 #87B5A1
split-complementary
#8A87B5 #B5A187 #9BB587
monochromatic
#4D4A78 #65619E #8A87B5 #AFADCC #D4D3E4
Accessibility & contrast
On white
3.38
#8A87B5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#8A87B5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A87B5
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A87B5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A87B5 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B8DB7
Deuteranopia (green-blind)
#7B8AB4
Tritanopia (blue-blind)
#818F97
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8a87b5; /* rgb */ color: rgb(138, 135, 181); /* oklch */ color: oklch(64.3% 0.068 287.3);
Tailwind
colors: {
custom: {
50: '#ada9cb',
500: '#8a87b5',
950: '#000000',
},
}SCSS
$custom: #8a87b5; $custom-light: #ada9cb; $custom-dark: #000000;
JSON
{
"hex": "#8a87b5",
"rgb": {
"r": 138,
"g": 135,
"b": 181
},
"hsl": {
"h": 243.913,
"s": 23.711,
"l": 61.961
},
"oklch": {
"l": 0.64303,
"c": 0.06832,
"h": 287.3
},
"luminance": 0.26067
}Semantic roles & 50–950 ramp
primary
#8A87B5
secondary
#D3D4C3
accent
#A2439C
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82