#9C39B0#9C39B0
#9C39B0 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.195 H 320.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9C39B0 |
|---|---|
| RGB | rgb(156, 57, 176) |
| HSL | hsl(290, 51%, 46%) |
| HSV | hsv(290, 68%, 69%) |
| CMYK | cmyk(11.4%, 67.6%, 0%, 31%) |
| CIE-LAB | lab(42.96, 57.49, -44.38) |
| CIE-LCH | lch(42.96, 72.63, 322.33°) |
| OKLab | oklab(53.32% 0.1503 -0.124) |
| OKLCH | oklch(53.32% 0.195 320.5) |
| XYZ | xyz(23.0090, 13.1299, 42.3882) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.27
Barney
#AC1DB8
ΔE00 3.45
Medium Purple
#9E43A2
ΔE00 3.65
Ugly Purple
#A442A0
ΔE00 4.70
Darkorchid
#9932CC
ΔE00 4.82
Warm Purple
#952E8F
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C39B0 #4DB039
analogous
#6039B0 #9C39B0 #B03988
triadic
#9C39B0 #B09C39 #39B09C
tetradic
#9C39B0 #B06039 #4DB039 #3988B0
square
#9C39B0 #B06039 #4DB039 #3988B0
split-complementary
#9C39B0 #88B039 #39B060
monochromatic
#4A1B54 #732A82 #9C39B0 #B85CCA #CC8AD9
Accessibility & contrast
On white
5.79
#9C39B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#9C39B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C39B0
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C39B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C39B0 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F5FB3
Deuteranopia (green-blind)
#4469AD
Tritanopia (blue-blind)
#9D4E70
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #9c39b0; /* rgb */ color: rgb(156, 57, 176); /* oklch */ color: oklch(53.3% 0.195 320.5);
Tailwind
colors: {
custom: {
50: '#bd77c8',
500: '#9c39b0',
950: '#000000',
},
}SCSS
$custom: #9c39b0; $custom-light: #bd77c8; $custom-dark: #000000;
JSON
{
"hex": "#9c39b0",
"rgb": {
"r": 156,
"g": 57,
"b": 176
},
"hsl": {
"h": 289.916,
"s": 51.073,
"l": 45.686
},
"oklch": {
"l": 0.53321,
"c": 0.19487,
"h": 320.5
},
"luminance": 0.13129
}Semantic roles & 50–950 ramp
primary
#9C39B0
secondary
#8CC481
accent
#DB4D65
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82