#8F87C2#8F87C2
#8F87C2 is a light, moderate blue. Relative luminance 0.271; OKLCH L 65.3% C 0.087 H 290.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8F87C2 |
|---|---|
| RGB | rgb(143, 135, 194) |
| HSL | hsl(248, 33%, 65%) |
| HSV | hsv(248, 30%, 76%) |
| CMYK | cmyk(26.3%, 30.4%, 0%, 23.9%) |
| CIE-LAB | lab(59.03, 15.98, -29.61) |
| CIE-LCH | lch(59.03, 33.65, 298.36°) |
| OKLab | oklab(65.3% 0.0298 -0.082) |
| OKLCH | oklch(65.3% 0.087 290) |
| XYZ | xyz(29.7269, 27.0621, 54.6858) |
| Luminance | 0.2706 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 7.05
Wisteria
#A87DC2
ΔE00 8.02
Lavender
#B39DDB
ΔE00 8.68
Pale Purple
#B790D4
ΔE00 8.99
Deep Lilac
#966EBD
ΔE00 9.10
Heather
#A484AC
ΔE00 9.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F87C2 #BAC287
analogous
#879DC2 #8F87C2 #AD87C2
triadic
#8F87C2 #C28F87 #87C28F
tetradic
#8F87C2 #C2879D #BAC287 #87C2AD
square
#8F87C2 #C2879D #BAC287 #87C2AD
split-complementary
#8F87C2 #C2AD87 #9DC287
monochromatic
#4F4689 #695EAD #8F87C2 #B5B0D7 #DBD8EB
Accessibility & contrast
On white
3.27
#8F87C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#8F87C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F87C2
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F87C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F87C2 | 1.00 | 3.27 | 6.41 | 6.41 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#788FC4
Deuteranopia (green-blind)
#788DC0
Tritanopia (blue-blind)
#84919C
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8f87c2; /* rgb */ color: rgb(143, 135, 194); /* oklch */ color: oklch(65.3% 0.087 290.0);
Tailwind
colors: {
custom: {
50: '#b1aad4',
500: '#8f87c2',
950: '#000000',
},
}SCSS
$custom: #8f87c2; $custom-light: #b1aad4; $custom-dark: #000000;
JSON
{
"hex": "#8f87c2",
"rgb": {
"r": 143,
"g": 135,
"b": 194
},
"hsl": {
"h": 248.136,
"s": 32.597,
"l": 64.51
},
"oklch": {
"l": 0.65295,
"c": 0.08724,
"h": 290
},
"luminance": 0.27063
}Semantic roles & 50–950 ramp
primary
#8F87C2
secondary
#DADDC8
accent
#AB3A9C
background
#FAFAFD
surface
#F5F4FA
border
#CFCED3
text
#111014
muted
#807F83