#9C30A2#9C30A2
#9C30A2 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.194 H 325.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9C30A2 |
|---|---|
| RGB | rgb(156, 48, 162) |
| HSL | hsl(297, 54%, 41%) |
| HSV | hsv(297, 70%, 64%) |
| CMYK | cmyk(3.7%, 70.4%, 0%, 36.5%) |
| CIE-LAB | lab(40.88, 58.46, -39.36) |
| CIE-LCH | lch(40.88, 70.48, 326.05°) |
| OKLab | oklab(51.57% 0.1602 -0.1093) |
| OKLCH | oklch(51.57% 0.194 325.7) |
| XYZ | xyz(21.2884, 11.7918, 35.3302) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.43
Medium Purple
#9E43A2
ΔE00 3.71
Purply
#983FB2
ΔE00 3.93
Barney
#AC1DB8
ΔE00 3.97
Barney Purple
#A00498
ΔE00 4.09
Ugly Purple
#A442A0
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C30A2 #36A230
analogous
#6330A2 #9C30A2 #A2306F
triadic
#9C30A2 #A29C30 #30A29C
tetradic
#9C30A2 #A26330 #36A230 #306FA2
square
#9C30A2 #A26330 #36A230 #306FA2
split-complementary
#9C30A2 #6FA230 #30A263
monochromatic
#411444 #6F2273 #9C30A2 #C247C8 #D176D6
Accessibility & contrast
On white
6.25
#9C30A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#9C30A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C30A2
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C30A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C30A2 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#48659F
Tritanopia (blue-blind)
#A04266
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9c30a2; /* rgb */ color: rgb(156, 48, 162); /* oklch */ color: oklch(51.6% 0.194 325.7);
Tailwind
colors: {
custom: {
50: '#bd72be',
500: '#9c30a2',
950: '#000000',
},
}SCSS
$custom: #9c30a2; $custom-light: #bd72be; $custom-dark: #000000;
JSON
{
"hex": "#9c30a2",
"rgb": {
"r": 156,
"g": 48,
"b": 162
},
"hsl": {
"h": 296.842,
"s": 54.286,
"l": 41.176
},
"oklch": {
"l": 0.51569,
"c": 0.19393,
"h": 325.7
},
"luminance": 0.1179
}Semantic roles & 50–950 ramp
primary
#9C30A2
secondary
#74BE6F
accent
#DE4A52
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81