#9C20C8#9C20C8
#9C20C8 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.9% C 0.240 H 314.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9C20C8 |
|---|---|
| RGB | rgb(156, 32, 200) |
| HSL | hsl(284, 72%, 45%) |
| HSV | hsv(284, 84%, 78%) |
| CMYK | cmyk(22%, 84%, 0%, 21.6%) |
| CIE-LAB | lab(41.65, 70.39, -60.57) |
| CIE-LCH | lch(41.65, 92.86, 319.29°) |
| OKLab | oklab(52.9% 0.1686 -0.1713) |
| OKLCH | oklch(52.9% 0.24 314.5) |
| XYZ | xyz(24.6504, 12.2720, 55.7026) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.22
Darkviolet
#9400D3
ΔE00 3.11
Vibrant Purple
#AD03DE
ΔE00 3.62
Barney
#AC1DB8
ΔE00 4.32
Violet (survey)
#9A0EEA
ΔE00 4.54
Blueviolet
#8A2BE2
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C20C8 #4CC820
analogous
#4820C8 #9C20C8 #C820A0
triadic
#9C20C8 #C89C20 #20C89C
tetradic
#9C20C8 #C84820 #4CC820 #20A0C8
square
#9C20C8 #C84820 #4CC820 #20A0C8
split-complementary
#9C20C8 #A0C820 #20C848
monochromatic
#4A0F5E #731893 #9C20C8 #B844E1 #CC79EA
Accessibility & contrast
On white
6.08
#9C20C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#9C20C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C20C8
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C20C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C20C8 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0965C5
Tritanopia (blue-blind)
#984C78
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9c20c8; /* rgb */ color: rgb(156, 32, 200); /* oklch */ color: oklch(52.9% 0.240 314.5);
Tailwind
colors: {
custom: {
50: '#be6eda',
500: '#9c20c8',
950: '#000000',
},
}SCSS
$custom: #9c20c8; $custom-light: #be6eda; $custom-dark: #000000;
JSON
{
"hex": "#9c20c8",
"rgb": {
"r": 156,
"g": 32,
"b": 200
},
"hsl": {
"h": 284.286,
"s": 72.414,
"l": 45.49
},
"oklch": {
"l": 0.52895,
"c": 0.24041,
"h": 314.5
},
"luminance": 0.12271
}Semantic roles & 50–950 ramp
primary
#9C20C8
secondary
#8BD173
accent
#EF3968
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83