#986FC7#986FC7
#986FC7 is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.9% C 0.135 H 304.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #986FC7 |
|---|---|
| RGB | rgb(152, 111, 199) |
| HSL | hsl(268, 44%, 61%) |
| HSV | hsv(268, 44%, 78%) |
| CMYK | cmyk(23.6%, 44.2%, 0%, 22%) |
| CIE-LAB | lab(54.20, 33.77, -39.93) |
| CIE-LCH | lch(54.20, 52.30, 310.22°) |
| OKLab | oklab(61.89% 0.0759 -0.1115) |
| OKLCH | oklch(61.89% 0.135 304.2) |
| XYZ | xyz(28.9400, 22.1679, 56.7760) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 1.90
Mediumpurple
#9370DB
ΔE00 4.11
Amethyst
#9B5FC0
ΔE00 4.86
Soft Purple
#A66FB5
ΔE00 5.90
Deep Lavender
#8D5EB7
ΔE00 5.95
Wisteria
#A87DC2
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#986FC7 #9EC76F
analogous
#6F72C7 #986FC7 #C46FC7
triadic
#986FC7 #C7986F #6FC798
tetradic
#986FC7 #C76F72 #9EC76F #6FC7C4
square
#986FC7 #C76F72 #9EC76F #6FC7C4
split-complementary
#986FC7 #C7C46F #72C76F
monochromatic
#5B3587 #7946B3 #986FC7 #B89BD8 #D7C7E9
Accessibility & contrast
On white
3.86
#986FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#986FC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #986FC7
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##986FC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##986FC7 | 1.00 | 3.86 | 5.43 | 5.43 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5880CA
Deuteranopia (green-blind)
#6282C5
Tritanopia (blue-blind)
#907E91
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #986fc7; /* rgb */ color: rgb(152, 111, 199); /* oklch */ color: oklch(61.9% 0.135 304.2);
Tailwind
colors: {
custom: {
50: '#b899d8',
500: '#986fc7',
950: '#000000',
},
}SCSS
$custom: #986fc7; $custom-light: #b899d8; $custom-dark: #000000;
JSON
{
"hex": "#986fc7",
"rgb": {
"r": 152,
"g": 111,
"b": 199
},
"hsl": {
"h": 267.955,
"s": 44,
"l": 60.784
},
"oklch": {
"l": 0.61893,
"c": 0.13486,
"h": 304.2
},
"luminance": 0.22168
}Semantic roles & 50–950 ramp
primary
#986FC7
secondary
#CADAB8
accent
#B72E77
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83