#9C2A98#9C2A98
#9C2A98 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.193 H 329.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2A98 |
|---|---|
| RGB | rgb(156, 42, 152) |
| HSL | hsl(302, 58%, 39%) |
| HSV | hsv(302, 73%, 61%) |
| CMYK | cmyk(0%, 73.1%, 2.6%, 38.8%) |
| CIE-LAB | lab(39.57, 58.89, -35.42) |
| CIE-LCH | lch(39.57, 68.73, 328.98°) |
| OKLab | oklab(50.44% 0.1661 -0.0979) |
| OKLCH | oklch(50.44% 0.193 329.5) |
| XYZ | xyz(20.2056, 10.9924, 30.7572) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.80
Barney Purple
#A00498
ΔE00 2.85
Medium Purple
#9E43A2
ΔE00 4.72
Ugly Purple
#A442A0
ΔE00 5.00
Barney
#AC1DB8
ΔE00 5.35
Purply
#983FB2
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2A98 #2A9C2E
analogous
#672A9C #9C2A98 #9C2A5F
triadic
#9C2A98 #989C2A #2A989C
tetradic
#9C2A98 #9C672A #2A9C2E #2A5F9C
square
#9C2A98 #9C672A #2A9C2E #2A5F9C
split-complementary
#9C2A98 #5F9C2A #2A9C67
monochromatic
#3C103A #6C1D69 #9C2A98 #CA39C5 #D76AD3
Accessibility & contrast
On white
6.57
#9C2A98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#9C2A98 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2A98
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2A98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2A98 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B539B
Deuteranopia (green-blind)
#4B6395
Tritanopia (blue-blind)
#A23A5E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9c2a98; /* rgb */ color: rgb(156, 42, 152); /* oklch */ color: oklch(50.4% 0.193 329.5);
Tailwind
colors: {
custom: {
50: '#bd6fb7',
500: '#9c2a98',
950: '#000000',
},
}SCSS
$custom: #9c2a98; $custom-light: #bd6fb7; $custom-dark: #000000;
JSON
{
"hex": "#9c2a98",
"rgb": {
"r": 156,
"g": 42,
"b": 152
},
"hsl": {
"h": 302.105,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.50443,
"c": 0.19281,
"h": 329.5
},
"luminance": 0.10991
}Semantic roles & 50–950 ramp
primary
#9C2A98
secondary
#65BD68
accent
#E14C47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80