#9836C1#9836C1
#9836C1 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.213 H 313.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9836C1 |
|---|---|
| RGB | rgb(152, 54, 193) |
| HSL | hsl(282, 56%, 48%) |
| HSV | hsv(282, 72%, 76%) |
| CMYK | cmyk(21.2%, 72%, 0%, 24.3%) |
| CIE-LAB | lab(43.01, 61.20, -54.31) |
| CIE-LCH | lch(43.01, 81.82, 318.41°) |
| OKLab | oklab(53.58% 0.1473 -0.1532) |
| OKLCH | oklch(53.58% 0.213 313.9) |
| XYZ | xyz(23.8921, 13.1648, 51.7242) |
| Luminance | 0.1316 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.67
Purply
#983FB2
ΔE00 2.95
Barney
#AC1DB8
ΔE00 4.45
Vibrant Purple
#AD03DE
ΔE00 4.92
Darkviolet
#9400D3
ΔE00 5.33
Blueviolet
#8A2BE2
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9836C1 #5FC136
analogous
#5236C1 #9836C1 #C136A4
triadic
#9836C1 #C19836 #36C198
tetradic
#9836C1 #C15236 #5FC136 #36A4C1
square
#9836C1 #C15236 #5FC136 #36A4C1
split-complementary
#9836C1 #A4C136 #36C152
monochromatic
#4D1B61 #722991 #9836C1 #B161D3 #C991E0
Accessibility & contrast
On white
5.78
#9836C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#9836C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9836C1
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9836C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9836C1 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#2C68BE
Tritanopia (blue-blind)
#945478
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9836c1; /* rgb */ color: rgb(152, 54, 193); /* oklch */ color: oklch(53.6% 0.213 313.9);
Tailwind
colors: {
custom: {
50: '#bb76d4',
500: '#9836c1',
950: '#000000',
},
}SCSS
$custom: #9836c1; $custom-light: #bb76d4; $custom-dark: #000000;
JSON
{
"hex": "#9836c1",
"rgb": {
"r": 152,
"g": 54,
"b": 193
},
"hsl": {
"h": 282.302,
"s": 56.275,
"l": 48.431
},
"oklch": {
"l": 0.53581,
"c": 0.21251,
"h": 313.9
},
"luminance": 0.13164
}Semantic roles & 50–950 ramp
primary
#9836C1
secondary
#9CCB88
accent
#E04875
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83