#9C2F99#9C2F99
#9C2F99 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.188 H 329.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2F99 |
|---|---|
| RGB | rgb(156, 47, 153) |
| HSL | hsl(302, 54%, 40%) |
| HSV | hsv(302, 70%, 61%) |
| CMYK | cmyk(0%, 69.9%, 1.9%, 38.8%) |
| CIE-LAB | lab(40.25, 57.28, -34.95) |
| CIE-LCH | lch(40.25, 67.10, 328.61°) |
| OKLab | oklab(50.95% 0.1611 -0.0965) |
| OKLCH | oklch(50.95% 0.188 329.1) |
| XYZ | xyz(20.4764, 11.4023, 31.2532) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.98
Barney Purple
#A00498
ΔE00 3.57
Medium Purple
#9E43A2
ΔE00 3.99
Ugly Purple
#A442A0
ΔE00 4.29
Barney
#AC1DB8
ΔE00 5.27
Purply
#983FB2
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2F99 #2F9C32
analogous
#682F9C #9C2F99 #9C2F63
triadic
#9C2F99 #999C2F #2F999C
tetradic
#9C2F99 #9C682F #2F9C32 #2F639C
square
#9C2F99 #9C682F #2F9C32 #2F639C
split-complementary
#9C2F99 #639C2F #2F9C68
monochromatic
#3E133D #6D216B #9C2F99 #C642C2 #D471D2
Accessibility & contrast
On white
6.40
#9C2F99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#9C2F99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2F99
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2F99 | 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)
#21569C
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#A13D60
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9c2f99; /* rgb */ color: rgb(156, 47, 153); /* oklch */ color: oklch(51.0% 0.188 329.1);
Tailwind
colors: {
custom: {
50: '#bd72b7',
500: '#9c2f99',
950: '#000000',
},
}SCSS
$custom: #9c2f99; $custom-light: #bd72b7; $custom-dark: #000000;
JSON
{
"hex": "#9c2f99",
"rgb": {
"r": 156,
"g": 47,
"b": 153
},
"hsl": {
"h": 301.651,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.50951,
"c": 0.18778,
"h": 329.1
},
"luminance": 0.11401
}Semantic roles & 50–950 ramp
primary
#9C2F99
secondary
#6BBC6D
accent
#DD4F4B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80