#9D2CA3#9D2CA3
#9D2CA3 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.200 H 325.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2CA3 |
|---|---|
| RGB | rgb(157, 44, 163) |
| HSL | hsl(297, 57%, 41%) |
| HSV | hsv(297, 73%, 64%) |
| CMYK | cmyk(3.7%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(40.60, 60.30, -40.40) |
| CIE-LCH | lch(40.60, 72.58, 326.18°) |
| OKLab | oklab(51.42% 0.1653 -0.1123) |
| OKLCH | oklch(51.42% 0.2 325.8) |
| XYZ | xyz(21.4157, 11.6152, 35.7572) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.56
Barney Purple
#A00498
ΔE00 3.69
Barney
#AC1DB8
ΔE00 3.69
Purply
#983FB2
ΔE00 4.17
Medium Purple
#9E43A2
ΔE00 4.22
Ugly Purple
#A442A0
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2CA3 #32A32C
analogous
#612CA3 #9D2CA3 #A32C6D
triadic
#9D2CA3 #A39D2C #2CA39D
tetradic
#9D2CA3 #A3612C #32A32C #2C6DA3
square
#9D2CA3 #A3612C #32A32C #2C6DA3
split-complementary
#9D2CA3 #6DA32C #2CA361
monochromatic
#401243 #6F1F73 #9D2CA3 #C541CC #D371D9
Accessibility & contrast
On white
6.32
#9D2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#9D2CA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2CA3
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2CA3 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0957A6
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#A14065
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9d2ca3; /* rgb */ color: rgb(157, 44, 163); /* oklch */ color: oklch(51.4% 0.200 325.8);
Tailwind
colors: {
custom: {
50: '#be71bf',
500: '#9d2ca3',
950: '#000000',
},
}SCSS
$custom: #9d2ca3; $custom-light: #be71bf; $custom-dark: #000000;
JSON
{
"hex": "#9d2ca3",
"rgb": {
"r": 157,
"g": 44,
"b": 163
},
"hsl": {
"h": 296.975,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.51415,
"c": 0.19983,
"h": 325.8
},
"luminance": 0.11614
}Semantic roles & 50–950 ramp
primary
#9D2CA3
secondary
#6FC06B
accent
#E1474F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81