#986FC8#986FC8
#986FC8 is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.9% C 0.136 H 303.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #986FC8 |
|---|---|
| RGB | rgb(152, 111, 200) |
| HSL | hsl(268, 45%, 61%) |
| HSV | hsv(268, 45%, 78%) |
| CMYK | cmyk(24%, 44.5%, 0%, 21.6%) |
| CIE-LAB | lab(54.25, 34.01, -40.43) |
| CIE-LCH | lch(54.25, 52.83, 310.07°) |
| OKLab | oklab(61.95% 0.076 -0.1129) |
| OKLCH | oklch(61.95% 0.136 303.9) |
| XYZ | xyz(29.0564, 22.2145, 57.3895) |
| Luminance | 0.2221 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.09
Mediumpurple
#9370DB
ΔE00 3.92
Amethyst
#9B5FC0
ΔE00 4.90
Deep Lavender
#8D5EB7
ΔE00 6.01
Soft Purple
#A66FB5
ΔE00 6.06
Wisteria
#A87DC2
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#986FC8 #9FC86F
analogous
#6F72C8 #986FC8 #C46FC8
triadic
#986FC8 #C8986F #6FC898
tetradic
#986FC8 #C86F72 #9FC86F #6FC8C4
square
#986FC8 #C86F72 #9FC86F #6FC8C4
split-complementary
#986FC8 #C8C46F #72C86F
monochromatic
#5B3488 #7945B5 #986FC8 #B89BD9 #D7C8EA
Accessibility & contrast
On white
3.86
#986FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#986FC8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #986FC8
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##986FC8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##986FC8 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5881CB
Deuteranopia (green-blind)
#6182C6
Tritanopia (blue-blind)
#907E92
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #986fc8; /* rgb */ color: rgb(152, 111, 200); /* oklch */ color: oklch(61.9% 0.136 303.9);
Tailwind
colors: {
custom: {
50: '#b899d9',
500: '#986fc8',
950: '#000000',
},
}SCSS
$custom: #986fc8; $custom-light: #b899d9; $custom-dark: #000000;
JSON
{
"hex": "#986fc8",
"rgb": {
"r": 152,
"g": 111,
"b": 200
},
"hsl": {
"h": 267.64,
"s": 44.724,
"l": 60.98
},
"oklch": {
"l": 0.61946,
"c": 0.13612,
"h": 303.9
},
"luminance": 0.22214
}Semantic roles & 50–950 ramp
primary
#986FC8
secondary
#CBDAB9
accent
#B82E78
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83