#986CC8#986CC8
#986CC8 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.4% C 0.141 H 304.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #986CC8 |
|---|---|
| RGB | rgb(152, 108, 200) |
| HSL | hsl(269, 46%, 60%) |
| HSV | hsv(269, 46%, 78%) |
| CMYK | cmyk(24%, 46%, 0%, 21.6%) |
| CIE-LAB | lab(53.57, 35.71, -41.51) |
| CIE-LCH | lch(53.57, 54.76, 310.71°) |
| OKLab | oklab(61.43% 0.0802 -0.116) |
| OKLCH | oklch(61.43% 0.141 304.7) |
| XYZ | xyz(28.7346, 21.5708, 57.2822) |
| Luminance | 0.2157 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.29
Mediumpurple
#9370DB
ΔE00 4.01
Amethyst
#9B5FC0
ΔE00 4.06
Deep Lavender
#8D5EB7
ΔE00 5.28
Soft Purple
#A66FB5
ΔE00 6.20
Wisteria
#A87DC2
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#986CC8 #9CC86C
analogous
#6C6EC8 #986CC8 #C66CC8
triadic
#986CC8 #C8986C #6CC898
tetradic
#986CC8 #C86C6E #9CC86C #6CC8C6
square
#986CC8 #C86C6E #9CC86C #6CC8C6
split-complementary
#986CC8 #C8C66C #6EC86C
monochromatic
#5B3387 #7943B4 #986CC8 #B799D9 #D6C5E9
Accessibility & contrast
On white
3.95
#986CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#986CC8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #986CC8
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##986CC8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##986CC8 | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#537FCB
Deuteranopia (green-blind)
#5E80C6
Tritanopia (blue-blind)
#907C90
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #986cc8; /* rgb */ color: rgb(152, 108, 200); /* oklch */ color: oklch(61.4% 0.141 304.7);
Tailwind
colors: {
custom: {
50: '#b897d9',
500: '#986cc8',
950: '#000000',
},
}SCSS
$custom: #986cc8; $custom-light: #b897d9; $custom-dark: #000000;
JSON
{
"hex": "#986cc8",
"rgb": {
"r": 152,
"g": 108,
"b": 200
},
"hsl": {
"h": 268.696,
"s": 45.545,
"l": 60.392
},
"oklch": {
"l": 0.61432,
"c": 0.14109,
"h": 304.7
},
"luminance": 0.21571
}Semantic roles & 50–950 ramp
primary
#986CC8
secondary
#C9D9B6
accent
#B92D76
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D14
muted
#817E83