#9836C7#9836C7
#9836C7 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.218 H 312.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9836C7 |
|---|---|
| RGB | rgb(152, 54, 199) |
| HSL | hsl(281, 57%, 50%) |
| HSV | hsv(281, 73%, 78%) |
| CMYK | cmyk(23.6%, 72.9%, 0%, 22%) |
| CIE-LAB | lab(43.42, 62.43, -57.15) |
| CIE-LCH | lch(43.42, 84.64, 317.53°) |
| OKLab | oklab(54% 0.1465 -0.1616) |
| OKLCH | oklch(54% 0.218 312.2) |
| XYZ | xyz(24.5750, 13.4379, 55.3210) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 0.84
Purply
#983FB2
ΔE00 3.74
Vibrant Purple
#AD03DE
ΔE00 4.42
Barney
#AC1DB8
ΔE00 5.03
Darkviolet
#9400D3
ΔE00 5.03
Blueviolet
#8A2BE2
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9836C7 #65C736
analogous
#5036C7 #9836C7 #C736AD
triadic
#9836C7 #C79836 #36C798
tetradic
#9836C7 #C75036 #65C736 #36ADC7
square
#9836C7 #C75036 #65C736 #36ADC7
split-complementary
#9836C7 #ADC736 #36C750
monochromatic
#4E1C67 #732997 #9836C7 #B165D5 #C995E2
Accessibility & contrast
On white
5.70
#9836C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#9836C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9836C7
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9836C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9836C7 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#2368C4
Tritanopia (blue-blind)
#92567C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9836c7; /* rgb */ color: rgb(152, 54, 199); /* oklch */ color: oklch(54.0% 0.218 312.2);
Tailwind
colors: {
custom: {
50: '#bb76d9',
500: '#9836c7',
950: '#000000',
},
}SCSS
$custom: #9836c7; $custom-light: #bb76d9; $custom-dark: #000000;
JSON
{
"hex": "#9836c7",
"rgb": {
"r": 152,
"g": 54,
"b": 199
},
"hsl": {
"h": 280.552,
"s": 57.312,
"l": 49.608
},
"oklch": {
"l": 0.53997,
"c": 0.21806,
"h": 312.2
},
"luminance": 0.13437
}Semantic roles & 50–950 ramp
primary
#9836C7
secondary
#A1CE8B
accent
#E14779
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83