#9C39B2#9C39B2
#9C39B2 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.197 H 319.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9C39B2 |
|---|---|
| RGB | rgb(156, 57, 178) |
| HSL | hsl(289, 51%, 46%) |
| HSV | hsv(289, 68%, 70%) |
| CMYK | cmyk(12.4%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(43.08, 57.87, -45.37) |
| CIE-LCH | lch(43.08, 73.54, 321.90°) |
| OKLab | oklab(53.45% 0.1502 -0.1269) |
| OKLCH | oklch(53.45% 0.197 319.8) |
| XYZ | xyz(23.2083, 13.2096, 43.4381) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.15
Barney
#AC1DB8
ΔE00 3.43
Medium Purple
#9E43A2
ΔE00 3.93
Darkorchid
#9932CC
ΔE00 4.48
Ugly Purple
#A442A0
ΔE00 4.98
Warm Purple
#952E8F
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C39B2 #4FB239
analogous
#5F39B2 #9C39B2 #B2398B
triadic
#9C39B2 #B29C39 #39B29C
tetradic
#9C39B2 #B25F39 #4FB239 #398BB2
square
#9C39B2 #B25F39 #4FB239 #398BB2
split-complementary
#9C39B2 #8BB239 #39B25F
monochromatic
#4B1B55 #732A84 #9C39B2 #B75DCB #CC8BDA
Accessibility & contrast
On white
5.77
#9C39B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#9C39B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C39B2
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C39B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C39B2 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#085FB6
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#9C4F71
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9c39b2; /* rgb */ color: rgb(156, 57, 178); /* oklch */ color: oklch(53.4% 0.197 319.8);
Tailwind
colors: {
custom: {
50: '#bd77ca',
500: '#9c39b2',
950: '#000000',
},
}SCSS
$custom: #9c39b2; $custom-light: #bd77ca; $custom-dark: #000000;
JSON
{
"hex": "#9c39b2",
"rgb": {
"r": 156,
"g": 57,
"b": 178
},
"hsl": {
"h": 289.091,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.53445,
"c": 0.19667,
"h": 319.8
},
"luminance": 0.13209
}Semantic roles & 50–950 ramp
primary
#9C39B2
secondary
#8EC482
accent
#DB4D67
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82