#9936C2#9936C2
#9936C2 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.214 H 314.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9936C2 |
|---|---|
| RGB | rgb(153, 54, 194) |
| HSL | hsl(282, 56%, 49%) |
| HSV | hsv(282, 72%, 76%) |
| CMYK | cmyk(21.1%, 72.2%, 0%, 23.9%) |
| CIE-LAB | lab(43.22, 61.60, -54.55) |
| CIE-LCH | lch(43.22, 82.28, 318.48°) |
| OKLab | oklab(53.78% 0.1484 -0.1539) |
| OKLCH | oklch(53.78% 0.214 314) |
| XYZ | xyz(24.1920, 13.3065, 52.3225) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.57
Purply
#983FB2
ΔE00 3.00
Barney
#AC1DB8
ΔE00 4.41
Vibrant Purple
#AD03DE
ΔE00 4.77
Darkviolet
#9400D3
ΔE00 5.38
Blueviolet
#8A2BE2
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9936C2 #5FC236
analogous
#5336C2 #9936C2 #C236A5
triadic
#9936C2 #C29936 #36C299
tetradic
#9936C2 #C25336 #5FC236 #36A5C2
square
#9936C2 #C25336 #5FC236 #36A5C2
split-complementary
#9936C2 #A5C236 #36C253
monochromatic
#4D1B62 #732992 #9936C2 #B262D3 #CA92E1
Accessibility & contrast
On white
5.74
#9936C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#9936C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9936C2
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9936C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9936C2 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#2D68BF
Tritanopia (blue-blind)
#955479
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9936c2; /* rgb */ color: rgb(153, 54, 194); /* oklch */ color: oklch(53.8% 0.214 314.0);
Tailwind
colors: {
custom: {
50: '#bb76d5',
500: '#9936c2',
950: '#000000',
},
}SCSS
$custom: #9936c2; $custom-light: #bb76d5; $custom-dark: #000000;
JSON
{
"hex": "#9936c2",
"rgb": {
"r": 153,
"g": 54,
"b": 194
},
"hsl": {
"h": 282.429,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.53782,
"c": 0.21378,
"h": 314
},
"luminance": 0.13306
}Semantic roles & 50–950 ramp
primary
#9936C2
secondary
#9CCC88
accent
#E04874
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120914
muted
#817B83