#986FC2#986FC2
#986FC2 is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.6% C 0.128 H 305.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #986FC2 |
|---|---|
| RGB | rgb(152, 111, 194) |
| HSL | hsl(270, 40%, 60%) |
| HSV | hsv(270, 43%, 76%) |
| CMYK | cmyk(21.6%, 42.8%, 0%, 23.9%) |
| CIE-LAB | lab(53.96, 32.58, -37.46) |
| CIE-LCH | lch(53.96, 49.65, 311.02°) |
| OKLab | oklab(61.63% 0.075 -0.1043) |
| OKLCH | oklch(61.63% 0.128 305.7) |
| XYZ | xyz(28.3690, 21.9395, 53.7687) |
| Luminance | 0.2194 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 0.97
Amethyst
#9B5FC0
ΔE00 4.77
Mediumpurple
#9370DB
ΔE00 5.08
Soft Purple
#A66FB5
ΔE00 5.09
Wisteria
#A87DC2
ΔE00 5.66
Deep Lavender
#8D5EB7
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#986FC2 #99C26F
analogous
#6F6FC2 #986FC2 #C26FC2
triadic
#986FC2 #C2986F #6FC298
tetradic
#986FC2 #C26F6F #99C26F #6FC2C2
square
#986FC2 #C26F6F #99C26F #6FC2C2
split-complementary
#986FC2 #C2C26F #6FC26F
monochromatic
#5B3680 #7949AB #986FC2 #B79AD4 #D5C5E6
Accessibility & contrast
On white
3.90
#986FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#986FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #986FC2
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##986FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##986FC2 | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B80C5
Deuteranopia (green-blind)
#6581C0
Tritanopia (blue-blind)
#927C8F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #986fc2; /* rgb */ color: rgb(152, 111, 194); /* oklch */ color: oklch(61.6% 0.128 305.7);
Tailwind
colors: {
custom: {
50: '#b899d5',
500: '#986fc2',
950: '#000000',
},
}SCSS
$custom: #986fc2; $custom-light: #b899d5; $custom-dark: #000000;
JSON
{
"hex": "#986fc2",
"rgb": {
"r": 152,
"g": 111,
"b": 194
},
"hsl": {
"h": 269.639,
"s": 40.488,
"l": 59.804
},
"oklch": {
"l": 0.61632,
"c": 0.12849,
"h": 305.7
},
"luminance": 0.21939
}Semantic roles & 50–950 ramp
primary
#986FC2
secondary
#C7D6B6
accent
#D05795
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83