#986BBB#986BBB
#986BBB is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.6% C 0.127 H 309.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #986BBB |
|---|---|
| RGB | rgb(152, 107, 187) |
| HSL | hsl(274, 37%, 58%) |
| HSV | hsv(274, 43%, 73%) |
| CMYK | cmyk(18.7%, 42.8%, 0%, 26.7%) |
| CIE-LAB | lab(52.71, 33.24, -35.41) |
| CIE-LCH | lch(52.71, 48.57, 313.19°) |
| OKLab | oklab(60.58% 0.0796 -0.0984) |
| OKLCH | oklch(60.58% 0.127 309) |
| XYZ | xyz(27.1745, 20.7790, 49.5833) |
| Luminance | 0.2078 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 1.16
Amethyst
#9B5FC0
ΔE00 3.78
Soft Purple
#A66FB5
ΔE00 4.31
Deep Lavender
#8D5EB7
ΔE00 4.69
Dark Lilac
#9C6DA5
ΔE00 5.80
Wisteria
#A87DC2
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#986BBB #8EBB6B
analogous
#706BBB #986BBB #BB6BB6
triadic
#986BBB #BB986B #6BBB98
tetradic
#986BBB #BB706B #8EBB6B #6BB6BB
square
#986BBB #BB706B #8EBB6B #6BB6BB
split-complementary
#986BBB #B6BB6B #6BBB70
monochromatic
#5A3676 #7A49A0 #986BBB #B595CE #D2BFE2
Accessibility & contrast
On white
4.07
#986BBB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#986BBB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #986BBB
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##986BBB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##986BBB | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#597CBE
Deuteranopia (green-blind)
#647EB9
Tritanopia (blue-blind)
#94778A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #986bbb; /* rgb */ color: rgb(152, 107, 187); /* oklch */ color: oklch(60.6% 0.127 309.0);
Tailwind
colors: {
custom: {
50: '#b896d0',
500: '#986bbb',
950: '#000000',
},
}SCSS
$custom: #986bbb; $custom-light: #b896d0; $custom-dark: #000000;
JSON
{
"hex": "#986bbb",
"rgb": {
"r": 152,
"g": 107,
"b": 187
},
"hsl": {
"h": 273.75,
"s": 37.037,
"l": 57.647
},
"oklch": {
"l": 0.60579,
"c": 0.12652,
"h": 309
},
"luminance": 0.20779
}Semantic roles & 50–950 ramp
primary
#986BBB
secondary
#BFD1B1
accent
#CD5B8D
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82