#9D2CA1#9D2CA1
#9D2CA1 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.198 H 326.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2CA1 |
|---|---|
| RGB | rgb(157, 44, 161) |
| HSL | hsl(298, 57%, 40%) |
| HSV | hsv(298, 73%, 63%) |
| CMYK | cmyk(2.5%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(40.48, 59.95, -39.39) |
| CIE-LCH | lch(40.48, 71.73, 326.70°) |
| OKLab | oklab(51.3% 0.1653 -0.1094) |
| OKLCH | oklch(51.3% 0.198 326.5) |
| XYZ | xyz(21.2379, 11.5441, 34.8209) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.23
Barney Purple
#A00498
ΔE00 3.52
Barney
#AC1DB8
ΔE00 3.96
Medium Purple
#9E43A2
ΔE00 4.18
Purply
#983FB2
ΔE00 4.44
Ugly Purple
#A442A0
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2CA1 #30A12C
analogous
#632CA1 #9D2CA1 #A12C6A
triadic
#9D2CA1 #A19D2C #2CA19D
tetradic
#9D2CA1 #A1632C #30A12C #2C6AA1
square
#9D2CA1 #A1632C #30A12C #2C6AA1
split-complementary
#9D2CA1 #6AA12C #2CA163
monochromatic
#3F1241 #6E1F71 #9D2CA1 #C640CB #D470D8
Accessibility & contrast
On white
6.35
#9D2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#9D2CA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2CA1
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2CA1 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F56A4
Deuteranopia (green-blind)
#48649E
Tritanopia (blue-blind)
#A13F64
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9d2ca1; /* rgb */ color: rgb(157, 44, 161); /* oklch */ color: oklch(51.3% 0.198 326.5);
Tailwind
colors: {
custom: {
50: '#bd71bd',
500: '#9d2ca1',
950: '#000000',
},
}SCSS
$custom: #9d2ca1; $custom-light: #bd71bd; $custom-dark: #000000;
JSON
{
"hex": "#9d2ca1",
"rgb": {
"r": 157,
"g": 44,
"b": 161
},
"hsl": {
"h": 297.949,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.51295,
"c": 0.19822,
"h": 326.5
},
"luminance": 0.11543
}Semantic roles & 50–950 ramp
primary
#9D2CA1
secondary
#6DBF6A
accent
#E0474D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81