#9C2B98#9C2B98
#9C2B98 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.192 H 329.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2B98 |
|---|---|
| RGB | rgb(156, 43, 152) |
| HSL | hsl(302, 57%, 39%) |
| HSV | hsv(302, 72%, 61%) |
| CMYK | cmyk(0%, 72.4%, 2.6%, 38.8%) |
| CIE-LAB | lab(39.69, 58.55, -35.23) |
| CIE-LCH | lch(39.69, 68.33, 328.96°) |
| OKLab | oklab(50.53% 0.1652 -0.0973) |
| OKLCH | oklch(50.53% 0.192 329.5) |
| XYZ | xyz(20.2415, 11.0642, 30.7692) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.79
Barney Purple
#A00498
ΔE00 2.99
Medium Purple
#9E43A2
ΔE00 4.59
Ugly Purple
#A442A0
ΔE00 4.86
Barney
#AC1DB8
ΔE00 5.36
Purply
#983FB2
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2B98 #2B9C2F
analogous
#682B9C #9C2B98 #9C2B60
triadic
#9C2B98 #989C2B #2B989C
tetradic
#9C2B98 #9C682B #2B9C2F #2B609C
square
#9C2B98 #9C682B #2B9C2F #2B609C
split-complementary
#9C2B98 #609C2B #2B9C68
monochromatic
#3C113B #6C1E69 #9C2B98 #C93BC4 #D66BD2
Accessibility & contrast
On white
6.54
#9C2B98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#9C2B98 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2B98
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2B98 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#4C6395
Tritanopia (blue-blind)
#A23A5F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9c2b98; /* rgb */ color: rgb(156, 43, 152); /* oklch */ color: oklch(50.5% 0.192 329.5);
Tailwind
colors: {
custom: {
50: '#bd70b7',
500: '#9c2b98',
950: '#000000',
},
}SCSS
$custom: #9c2b98; $custom-light: #bd70b7; $custom-dark: #000000;
JSON
{
"hex": "#9c2b98",
"rgb": {
"r": 156,
"g": 43,
"b": 152
},
"hsl": {
"h": 302.124,
"s": 56.784,
"l": 39.02
},
"oklch": {
"l": 0.5053,
"c": 0.19169,
"h": 329.5
},
"luminance": 0.11063
}Semantic roles & 50–950 ramp
primary
#9C2B98
secondary
#66BD69
accent
#E04D48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80