#9C30A6#9C30A6
#9C30A6 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.197 H 324.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9C30A6 |
|---|---|
| RGB | rgb(156, 48, 166) |
| HSL | hsl(295, 55%, 42%) |
| HSV | hsv(295, 71%, 65%) |
| CMYK | cmyk(6%, 71.1%, 0%, 34.9%) |
| CIE-LAB | lab(41.11, 59.17, -41.38) |
| CIE-LCH | lch(41.11, 72.21, 325.03°) |
| OKLab | oklab(51.81% 0.1601 -0.1152) |
| OKLCH | oklch(51.81% 0.197 324.3) |
| XYZ | xyz(21.6496, 11.9363, 37.2326) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.39
Barney
#AC1DB8
ΔE00 3.49
Medium Purple
#9E43A2
ΔE00 3.87
Warm Purple
#952E8F
ΔE00 4.11
Barney Purple
#A00498
ΔE00 4.45
Ugly Purple
#A442A0
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C30A6 #3AA630
analogous
#6130A6 #9C30A6 #A63075
triadic
#9C30A6 #A69C30 #30A69C
tetradic
#9C30A6 #A66130 #3AA630 #3075A6
square
#9C30A6 #A66130 #3AA630 #3075A6
split-complementary
#9C30A6 #75A630 #30A661
monochromatic
#431547 #6F2277 #9C30A6 #BF49CA #D078D8
Accessibility & contrast
On white
6.20
#9C30A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#9C30A6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C30A6
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C30A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C30A6 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C59A9
Deuteranopia (green-blind)
#4665A3
Tritanopia (blue-blind)
#9F4468
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9c30a6; /* rgb */ color: rgb(156, 48, 166); /* oklch */ color: oklch(51.8% 0.197 324.3);
Tailwind
colors: {
custom: {
50: '#bd73c1',
500: '#9c30a6',
950: '#000000',
},
}SCSS
$custom: #9c30a6; $custom-light: #bd73c1; $custom-dark: #000000;
JSON
{
"hex": "#9c30a6",
"rgb": {
"r": 156,
"g": 48,
"b": 166
},
"hsl": {
"h": 294.915,
"s": 55.14,
"l": 41.961
},
"oklch": {
"l": 0.51809,
"c": 0.19726,
"h": 324.3
},
"luminance": 0.11935
}Semantic roles & 50–950 ramp
primary
#9C30A6
secondary
#78C071
accent
#DE4956
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120912
muted
#817B81