#986EBA#986EBA
#986EBA is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.1% C 0.120 H 308.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #986EBA |
|---|---|
| RGB | rgb(152, 110, 186) |
| HSL | hsl(273, 36%, 58%) |
| HSV | hsv(273, 41%, 73%) |
| CMYK | cmyk(18.3%, 40.9%, 0%, 27.1%) |
| CIE-LAB | lab(53.35, 31.30, -33.82) |
| CIE-LCH | lch(53.35, 46.08, 312.78°) |
| OKLab | oklab(61.05% 0.075 -0.0938) |
| OKLCH | oklch(61.05% 0.12 308.6) |
| XYZ | xyz(27.3861, 21.3727, 49.1275) |
| Luminance | 0.2137 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 0.94
Soft Purple
#A66FB5
ΔE00 3.94
Amethyst
#9B5FC0
ΔE00 4.79
Dark Lilac
#9C6DA5
ΔE00 5.38
Wisteria
#A87DC2
ΔE00 5.45
Deep Lavender
#8D5EB7
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#986EBA #90BA6E
analogous
#726EBA #986EBA #BA6EB6
triadic
#986EBA #BA986E #6EBA98
tetradic
#986EBA #BA726E #90BA6E #6EB6BA
square
#986EBA #BA726E #90BA6E #6EB6BA
split-complementary
#986EBA #B6BA6E #6EBA72
monochromatic
#5A3876 #7A4C9F #986EBA #B597CE #D3C1E1
Accessibility & contrast
On white
3.98
#986EBA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#986EBA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #986EBA
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##986EBA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##986EBA | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E7EBD
Deuteranopia (green-blind)
#6880B8
Tritanopia (blue-blind)
#947A8B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #986eba; /* rgb */ color: rgb(152, 110, 186); /* oklch */ color: oklch(61.1% 0.120 308.6);
Tailwind
colors: {
custom: {
50: '#b798cf',
500: '#986eba',
950: '#000000',
},
}SCSS
$custom: #986eba; $custom-light: #b798cf; $custom-dark: #000000;
JSON
{
"hex": "#986eba",
"rgb": {
"r": 152,
"g": 110,
"b": 186
},
"hsl": {
"h": 273.158,
"s": 35.514,
"l": 58.039
},
"oklch": {
"l": 0.61051,
"c": 0.12009,
"h": 308.6
},
"luminance": 0.21372
}Semantic roles & 50–950 ramp
primary
#986EBA
secondary
#C0D1B3
accent
#CC5C8E
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82