#986FD2#986FD2
#986FD2 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.5% C 0.149 H 301.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #986FD2 |
|---|---|
| RGB | rgb(152, 111, 210) |
| HSL | hsl(265, 52%, 63%) |
| HSV | hsv(265, 47%, 82%) |
| CMYK | cmyk(27.6%, 47.1%, 0%, 17.6%) |
| CIE-LAB | lab(54.76, 36.43, -45.31) |
| CIE-LCH | lch(54.76, 58.14, 308.80°) |
| OKLab | oklab(62.49% 0.0774 -0.1271) |
| OKLCH | oklch(62.49% 0.149 301.3) |
| XYZ | xyz(30.2636, 22.6973, 63.7469) |
| Luminance | 0.2270 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.17
Deep Lilac
#966EBD
ΔE00 3.95
Amethyst
#9B5FC0
ΔE00 5.66
Light Urple
#B36FF6
ΔE00 6.64
Deep Lavender
#8D5EB7
ΔE00 6.85
Lighter Purple
#A55AF4
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#986FD2 #A9D26F
analogous
#6F78D2 #986FD2 #C96FD2
triadic
#986FD2 #D2986F #6FD298
tetradic
#986FD2 #D26F78 #A9D26F #6FD2C9
square
#986FD2 #D26F78 #A9D26F #6FD2C9
split-complementary
#986FD2 #D2C96F #78D26F
monochromatic
#5A2F97 #7740C3 #986FD2 #B99EE1 #DBCCEF
Accessibility & contrast
On white
3.79
#986FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#986FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #986FD2
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##986FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##986FD2 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5182D6
Deuteranopia (green-blind)
#5B83D0
Tritanopia (blue-blind)
#8D8197
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #986fd2; /* rgb */ color: rgb(152, 111, 210); /* oklch */ color: oklch(62.5% 0.149 301.3);
Tailwind
colors: {
custom: {
50: '#b999e0',
500: '#986fd2',
950: '#000000',
},
}SCSS
$custom: #986fd2; $custom-light: #b999e0; $custom-dark: #000000;
JSON
{
"hex": "#986fd2",
"rgb": {
"r": 152,
"g": 111,
"b": 210
},
"hsl": {
"h": 264.848,
"s": 52.381,
"l": 62.941
},
"oklch": {
"l": 0.6249,
"c": 0.14886,
"h": 301.3
},
"luminance": 0.22697
}Semantic roles & 50–950 ramp
primary
#986FD2
secondary
#D1E0BD
accent
#C02680
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83