#9861D4#9861D4
#9861D4 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.3% C 0.173 H 303.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9861D4 |
|---|---|
| RGB | rgb(152, 97, 212) |
| HSL | hsl(269, 57%, 61%) |
| HSV | hsv(269, 54%, 83%) |
| CMYK | cmyk(28.3%, 54.2%, 0%, 16.9%) |
| CIE-LAB | lab(51.81, 44.72, -51.14) |
| CIE-LCH | lch(51.81, 67.93, 311.17°) |
| OKLab | oklab(60.34% 0.0962 -0.1441) |
| OKLCH | oklch(60.34% 0.173 303.7) |
| XYZ | xyz(29.1046, 19.9783, 64.5975) |
| Luminance | 0.1998 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.83
Lightish Purple
#A552E6
ΔE00 4.28
Mediumpurple
#9370DB
ΔE00 4.60
Lighter Purple
#A55AF4
ΔE00 4.91
Deep Lavender
#8D5EB7
ΔE00 5.16
Purpley
#8756E4
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9861D4 #9DD461
analogous
#6163D4 #9861D4 #D261D4
triadic
#9861D4 #D49861 #61D498
tetradic
#9861D4 #D46163 #9DD461 #61D4D2
square
#9861D4 #D46163 #9DD461 #61D4D2
split-complementary
#9861D4 #D4D261 #63D461
monochromatic
#5B2893 #7935C3 #9861D4 #B791E1 #D7C1EE
Accessibility & contrast
On white
4.20
#9861D4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#9861D4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9861D4
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9861D4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9861D4 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#377AD8
Deuteranopia (green-blind)
#4A7BD1
Tritanopia (blue-blind)
#8D7791
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9861d4; /* rgb */ color: rgb(152, 97, 212); /* oklch */ color: oklch(60.3% 0.173 303.7);
Tailwind
colors: {
custom: {
50: '#b990e2',
500: '#9861d4',
950: '#000000',
},
}SCSS
$custom: #9861d4; $custom-light: #b990e2; $custom-dark: #000000;
JSON
{
"hex": "#9861d4",
"rgb": {
"r": 152,
"g": 97,
"b": 212
},
"hsl": {
"h": 268.696,
"s": 57.214,
"l": 60.588
},
"oklch": {
"l": 0.60336,
"c": 0.17328,
"h": 303.7
},
"luminance": 0.19978
}Semantic roles & 50–950 ramp
primary
#9861D4
secondary
#C9DEB3
accent
#C52176
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120D15
muted
#817D83