#8A87C2#8A87C2
#8A87C2 is a light, moderate blue. Relative luminance 0.266; OKLCH L 64.9% C 0.087 H 286.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8A87C2 |
|---|---|
| RGB | rgb(138, 135, 194) |
| HSL | hsl(243, 33%, 65%) |
| HSV | hsv(243, 30%, 76%) |
| CMYK | cmyk(28.9%, 30.4%, 0%, 23.9%) |
| CIE-LAB | lab(58.63, 14.48, -30.27) |
| CIE-LCH | lch(58.63, 33.56, 295.56°) |
| OKLab | oklab(64.88% 0.0241 -0.084) |
| OKLCH | oklch(64.88% 0.087 286) |
| XYZ | xyz(28.8803, 26.6256, 54.6461) |
| Luminance | 0.2663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 6.50
Lavender Blue
#8B88F8
ΔE00 9.14
Wisteria
#A87DC2
ΔE00 9.34
Lavender
#B39DDB
ΔE00 9.60
Mediumpurple
#9370DB
ΔE00 9.72
Deep Lilac
#966EBD
ΔE00 9.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A87C2 #BFC287
analogous
#87A2C2 #8A87C2 #A887C2
triadic
#8A87C2 #C28A87 #87C28A
tetradic
#8A87C2 #C287A2 #BFC287 #87C2A8
square
#8A87C2 #C287A2 #BFC287 #87C2A8
split-complementary
#8A87C2 #C2A887 #A2C287
monochromatic
#494689 #625EAD #8A87C2 #B2B0D7 #D9D8EB
Accessibility & contrast
On white
3.32
#8A87C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#8A87C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A87C2
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A87C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A87C2 | 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)
#778FC4
Deuteranopia (green-blind)
#758BC0
Tritanopia (blue-blind)
#7D919C
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8a87c2; /* rgb */ color: rgb(138, 135, 194); /* oklch */ color: oklch(64.9% 0.087 286.0);
Tailwind
colors: {
custom: {
50: '#ada9d4',
500: '#8a87c2',
950: '#000000',
},
}SCSS
$custom: #8a87c2; $custom-light: #ada9d4; $custom-dark: #000000;
JSON
{
"hex": "#8a87c2",
"rgb": {
"r": 138,
"g": 135,
"b": 194
},
"hsl": {
"h": 243.051,
"s": 32.597,
"l": 64.51
},
"oklch": {
"l": 0.64883,
"c": 0.08736,
"h": 286
},
"luminance": 0.26626
}Semantic roles & 50–950 ramp
primary
#8A87C2
secondary
#DCDDC8
accent
#AB3AA6
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83