#9936C8#9936C8
#9936C8 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.219 H 312.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9936C8 |
|---|---|
| RGB | rgb(153, 54, 200) |
| HSL | hsl(281, 57%, 50%) |
| HSV | hsv(281, 73%, 78%) |
| CMYK | cmyk(23.5%, 73%, 0%, 21.6%) |
| CIE-LAB | lab(43.63, 62.83, -57.38) |
| CIE-LCH | lch(43.63, 85.09, 317.60°) |
| OKLab | oklab(54.2% 0.1476 -0.1622) |
| OKLCH | oklch(54.2% 0.219 312.3) |
| XYZ | xyz(24.8795, 13.5815, 55.9433) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 0.79
Purply
#983FB2
ΔE00 3.80
Vibrant Purple
#AD03DE
ΔE00 4.28
Barney
#AC1DB8
ΔE00 5.01
Blueviolet
#8A2BE2
ΔE00 5.06
Darkviolet
#9400D3
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9936C8 #65C836
analogous
#5036C8 #9936C8 #C836AE
triadic
#9936C8 #C89936 #36C899
tetradic
#9936C8 #C85036 #65C836 #36AEC8
square
#9936C8 #C85036 #65C836 #36AEC8
split-complementary
#9936C8 #AEC836 #36C850
monochromatic
#4F1C68 #742998 #9936C8 #B266D6 #CA96E3
Accessibility & contrast
On white
5.65
#9936C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#9936C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9936C8
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9936C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9936C8 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#2369C5
Tritanopia (blue-blind)
#93577C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9936c8; /* rgb */ color: rgb(153, 54, 200); /* oklch */ color: oklch(54.2% 0.219 312.3);
Tailwind
colors: {
custom: {
50: '#bc76d9',
500: '#9936c8',
950: '#000000',
},
}SCSS
$custom: #9936c8; $custom-light: #bc76d9; $custom-dark: #000000;
JSON
{
"hex": "#9936c8",
"rgb": {
"r": 153,
"g": 54,
"b": 200
},
"hsl": {
"h": 280.685,
"s": 57.48,
"l": 49.804
},
"oklch": {
"l": 0.54198,
"c": 0.21931,
"h": 312.3
},
"luminance": 0.13581
}Semantic roles & 50–950 ramp
primary
#9936C8
secondary
#A1CE8C
accent
#E14779
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83