#9D2DAB#9D2DAB
#9D2DAB is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.205 H 323.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2DAB |
|---|---|
| RGB | rgb(157, 45, 171) |
| HSL | hsl(293, 58%, 42%) |
| HSV | hsv(293, 74%, 67%) |
| CMYK | cmyk(8.2%, 73.7%, 0%, 32.9%) |
| CIE-LAB | lab(41.19, 61.36, -44.23) |
| CIE-LCH | lch(41.19, 75.64, 324.22°) |
| OKLab | oklab(51.99% 0.164 -0.1235) |
| OKLCH | oklch(51.99% 0.205 323) |
| XYZ | xyz(22.1930, 11.9865, 39.6648) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.85
Purply
#983FB2
ΔE00 3.20
Medium Purple
#9E43A2
ΔE00 4.50
Barney Purple
#A00498
ΔE00 4.69
Warm Purple
#952E8F
ΔE00 4.91
Ugly Purple
#A442A0
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2DAB #3BAB2D
analogous
#5E2DAB #9D2DAB #AB2D7A
triadic
#9D2DAB #AB9D2D #2DAB9D
tetradic
#9D2DAB #AB5E2D #3BAB2D #2D7AAB
square
#9D2DAB #AB5E2D #3BAB2D #2D7AAB
split-complementary
#9D2DAB #7AAB2D #2DAB5E
monochromatic
#44144A #71207B #9D2DAB #BF47CE #D077DB
Accessibility & contrast
On white
6.18
#9D2DAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#9D2DAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2DAB
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2DAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2DAB | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4165A8
Tritanopia (blue-blind)
#9F446A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9d2dab; /* rgb */ color: rgb(157, 45, 171); /* oklch */ color: oklch(52.0% 0.205 323.0);
Tailwind
colors: {
custom: {
50: '#be72c4',
500: '#9d2dab',
950: '#000000',
},
}SCSS
$custom: #9d2dab; $custom-light: #be72c4; $custom-dark: #000000;
JSON
{
"hex": "#9d2dab",
"rgb": {
"r": 157,
"g": 45,
"b": 171
},
"hsl": {
"h": 293.333,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.51993,
"c": 0.2053,
"h": 323
},
"luminance": 0.11985
}Semantic roles & 50–950 ramp
primary
#9D2DAB
secondary
#7AC371
accent
#E24658
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82