#986CBB#986CBB
#986CBB is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.8% C 0.125 H 308.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #986CBB |
|---|---|
| RGB | rgb(152, 108, 187) |
| HSL | hsl(273, 37%, 58%) |
| HSV | hsv(273, 42%, 73%) |
| CMYK | cmyk(18.7%, 42.2%, 0%, 26.7%) |
| CIE-LAB | lab(52.94, 32.67, -35.05) |
| CIE-LCH | lch(52.94, 47.92, 312.99°) |
| OKLab | oklab(60.75% 0.0781 -0.0973) |
| OKLCH | oklch(60.75% 0.125 308.7) |
| XYZ | xyz(27.2794, 20.9887, 49.6182) |
| Luminance | 0.2099 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 0.94
Amethyst
#9B5FC0
ΔE00 4.09
Soft Purple
#A66FB5
ΔE00 4.21
Deep Lavender
#8D5EB7
ΔE00 4.96
Dark Lilac
#9C6DA5
ΔE00 5.72
Wisteria
#A87DC2
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#986CBB #8FBB6C
analogous
#716CBB #986CBB #BB6CB6
triadic
#986CBB #BB986C #6CBB98
tetradic
#986CBB #BB716C #8FBB6C #6CB6BB
square
#986CBB #BB716C #8FBB6C #6CB6BB
split-complementary
#986CBB #B6BB6C #6CBB71
monochromatic
#5A3776 #7A4AA0 #986CBB #B596CE #D3C0E2
Accessibility & contrast
On white
4.04
#986CBB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#986CBB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #986CBB
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##986CBB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##986CBB | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B7CBE
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#93788B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #986cbb; /* rgb */ color: rgb(152, 108, 187); /* oklch */ color: oklch(60.8% 0.125 308.7);
Tailwind
colors: {
custom: {
50: '#b897d0',
500: '#986cbb',
950: '#000000',
},
}SCSS
$custom: #986cbb; $custom-light: #b897d0; $custom-dark: #000000;
JSON
{
"hex": "#986cbb",
"rgb": {
"r": 152,
"g": 108,
"b": 187
},
"hsl": {
"h": 273.418,
"s": 36.744,
"l": 57.843
},
"oklch": {
"l": 0.60752,
"c": 0.1248,
"h": 308.7
},
"luminance": 0.20988
}Semantic roles & 50–950 ramp
primary
#986CBB
secondary
#C0D1B2
accent
#CD5B8D
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82