#9C3CB7#9C3CB7
#9C3CB7 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.1% C 0.197 H 318.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9C3CB7 |
|---|---|
| RGB | rgb(156, 60, 183) |
| HSL | hsl(287, 51%, 48%) |
| HSV | hsv(287, 67%, 72%) |
| CMYK | cmyk(14.8%, 67.2%, 0%, 28.2%) |
| CIE-LAB | lab(43.83, 57.59, -47.12) |
| CIE-LCH | lch(43.83, 74.41, 320.71°) |
| OKLab | oklab(54.08% 0.1467 -0.1321) |
| OKLCH | oklch(54.08% 0.197 318) |
| XYZ | xyz(23.8722, 13.7196, 46.1812) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.00
Barney
#AC1DB8
ΔE00 3.86
Darkorchid
#9932CC
ΔE00 3.87
Medium Purple
#9E43A2
ΔE00 4.43
Ugly Purple
#A442A0
ΔE00 5.48
Vibrant Purple
#AD03DE
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C3CB7 #57B73C
analogous
#5E3CB7 #9C3CB7 #B73C95
triadic
#9C3CB7 #B79C3C #3CB79C
tetradic
#9C3CB7 #B75E3C #57B73C #3C95B7
square
#9C3CB7 #B75E3C #57B73C #3C95B7
split-complementary
#9C3CB7 #95B73C #3CB75E
monochromatic
#4D1E5B #752D89 #9C3CB7 #B564CC #CB92DB
Accessibility & contrast
On white
5.61
#9C3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#9C3CB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C3CB7
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C3CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C3CB7 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0461BB
Deuteranopia (green-blind)
#416BB4
Tritanopia (blue-blind)
#9B5375
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9c3cb7; /* rgb */ color: rgb(156, 60, 183); /* oklch */ color: oklch(54.1% 0.197 318.0);
Tailwind
colors: {
custom: {
50: '#bd79cd',
500: '#9c3cb7',
950: '#000000',
},
}SCSS
$custom: #9c3cb7; $custom-light: #bd79cd; $custom-dark: #000000;
JSON
{
"hex": "#9c3cb7",
"rgb": {
"r": 156,
"g": 60,
"b": 183
},
"hsl": {
"h": 286.829,
"s": 50.617,
"l": 47.647
},
"oklch": {
"l": 0.54081,
"c": 0.19739,
"h": 318
},
"luminance": 0.13719
}Semantic roles & 50–950 ramp
primary
#9C3CB7
secondary
#96C688
accent
#DA4E6D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A13
muted
#817C82