#8987C2#8987C2
#8987C2 is a light, moderate blue. Relative luminance 0.265; OKLCH L 64.8% C 0.087 H 285.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8987C2 |
|---|---|
| RGB | rgb(137, 135, 194) |
| HSL | hsl(242, 33%, 65%) |
| HSV | hsv(242, 30%, 76%) |
| CMYK | cmyk(29.4%, 30.4%, 0%, 23.9%) |
| CIE-LAB | lab(58.55, 14.18, -30.40) |
| CIE-LCH | lch(58.55, 33.55, 295.01°) |
| OKLab | oklab(64.8% 0.023 -0.0843) |
| OKLCH | oklch(64.8% 0.087 285.2) |
| XYZ | xyz(28.7156, 26.5407, 54.6384) |
| Luminance | 0.2654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 6.42
Lavender Blue
#8B88F8
ΔE00 9.03
Wisteria
#A87DC2
ΔE00 9.61
Mediumpurple
#9370DB
ΔE00 9.77
Lavender
#B39DDB
ΔE00 9.80
Deep Lilac
#966EBD
ΔE00 9.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8987C2 #C0C287
analogous
#87A3C2 #8987C2 #A787C2
triadic
#8987C2 #C28987 #87C289
tetradic
#8987C2 #C287A3 #C0C287 #87C2A7
square
#8987C2 #C287A3 #C0C287 #87C2A7
split-complementary
#8987C2 #C2A787 #A3C287
monochromatic
#484689 #615EAD #8987C2 #B1B0D7 #D9D8EB
Accessibility & contrast
On white
3.33
#8987C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#8987C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8987C2
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8987C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8987C2 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#768FC4
Deuteranopia (green-blind)
#758BC0
Tritanopia (blue-blind)
#7B929C
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8987c2; /* rgb */ color: rgb(137, 135, 194); /* oklch */ color: oklch(64.8% 0.087 285.2);
Tailwind
colors: {
custom: {
50: '#ada9d4',
500: '#8987c2',
950: '#000000',
},
}SCSS
$custom: #8987c2; $custom-light: #ada9d4; $custom-dark: #000000;
JSON
{
"hex": "#8987c2",
"rgb": {
"r": 137,
"g": 135,
"b": 194
},
"hsl": {
"h": 242.034,
"s": 32.597,
"l": 64.51
},
"oklch": {
"l": 0.64802,
"c": 0.08742,
"h": 285.2
},
"luminance": 0.26541
}Semantic roles & 50–950 ramp
primary
#8987C2
secondary
#DCDDC8
accent
#AB3AA8
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83