#986FC3#986FC3
#986FC3 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.7% C 0.130 H 305.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #986FC3 |
|---|---|
| RGB | rgb(152, 111, 195) |
| HSL | hsl(269, 41%, 60%) |
| HSV | hsv(269, 43%, 76%) |
| CMYK | cmyk(22.1%, 43.1%, 0%, 23.5%) |
| CIE-LAB | lab(54.01, 32.82, -37.95) |
| CIE-LCH | lch(54.01, 50.18, 310.85°) |
| OKLab | oklab(61.68% 0.0752 -0.1057) |
| OKLCH | oklch(61.68% 0.13 305.4) |
| XYZ | xyz(28.4816, 21.9846, 54.3622) |
| Luminance | 0.2198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 1.15
Amethyst
#9B5FC0
ΔE00 4.77
Mediumpurple
#9370DB
ΔE00 4.88
Soft Purple
#A66FB5
ΔE00 5.25
Wisteria
#A87DC2
ΔE00 5.75
Deep Lavender
#8D5EB7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#986FC3 #9AC36F
analogous
#6F70C3 #986FC3 #C26FC3
triadic
#986FC3 #C3986F #6FC398
tetradic
#986FC3 #C36F70 #9AC36F #6FC3C2
square
#986FC3 #C36F70 #9AC36F #6FC3C2
split-complementary
#986FC3 #C3C26F #70C36F
monochromatic
#5B3682 #7948AD #986FC3 #B79AD5 #D6C5E7
Accessibility & contrast
On white
3.89
#986FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#986FC3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #986FC3
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##986FC3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##986FC3 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A80C6
Deuteranopia (green-blind)
#6481C1
Tritanopia (blue-blind)
#917D90
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #986fc3; /* rgb */ color: rgb(152, 111, 195); /* oklch */ color: oklch(61.7% 0.130 305.4);
Tailwind
colors: {
custom: {
50: '#b899d5',
500: '#986fc3',
950: '#000000',
},
}SCSS
$custom: #986fc3; $custom-light: #b899d5; $custom-dark: #000000;
JSON
{
"hex": "#986fc3",
"rgb": {
"r": 152,
"g": 111,
"b": 195
},
"hsl": {
"h": 269.286,
"s": 41.176,
"l": 60
},
"oklch": {
"l": 0.61684,
"c": 0.12976,
"h": 305.4
},
"luminance": 0.21984
}Semantic roles & 50–950 ramp
primary
#986FC3
secondary
#C7D7B7
accent
#D15795
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83