#9C3097#9C3097
#9C3097 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.185 H 329.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9C3097 |
|---|---|
| RGB | rgb(156, 48, 151) |
| HSL | hsl(303, 53%, 40%) |
| HSV | hsv(303, 69%, 61%) |
| CMYK | cmyk(0%, 69.2%, 3.2%, 38.8%) |
| CIE-LAB | lab(40.28, 56.57, -33.70) |
| CIE-LCH | lch(40.28, 65.84, 329.22°) |
| OKLab | oklab(50.93% 0.1599 -0.0929) |
| OKLCH | oklch(50.93% 0.185 329.8) |
| XYZ | xyz(20.3530, 11.4177, 30.4040) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.79
Barney Purple
#A00498
ΔE00 3.75
Medium Purple
#9E43A2
ΔE00 3.98
Ugly Purple
#A442A0
ΔE00 4.19
Barney
#AC1DB8
ΔE00 5.64
Purply
#983FB2
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C3097 #309C35
analogous
#6B309C #9C3097 #9C3061
triadic
#9C3097 #979C30 #30979C
tetradic
#9C3097 #9C6B30 #309C35 #30619C
square
#9C3097 #9C6B30 #309C35 #30619C
split-complementary
#9C3097 #619C30 #309C6B
monochromatic
#3E133C #6D226A #9C3097 #C544BF #D473CF
Accessibility & contrast
On white
6.40
#9C3097 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#9C3097 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C3097
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C3097 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C3097 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25569A
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#A23D60
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9c3097; /* rgb */ color: rgb(156, 48, 151); /* oklch */ color: oklch(50.9% 0.185 329.8);
Tailwind
colors: {
custom: {
50: '#bc72b6',
500: '#9c3097',
950: '#000000',
},
}SCSS
$custom: #9c3097; $custom-light: #bc72b6; $custom-dark: #000000;
JSON
{
"hex": "#9c3097",
"rgb": {
"r": 156,
"g": 48,
"b": 151
},
"hsl": {
"h": 302.778,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.50935,
"c": 0.18495,
"h": 329.8
},
"luminance": 0.11416
}Semantic roles & 50–950 ramp
primary
#9C3097
secondary
#6CBC70
accent
#DC524B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80