#9D2DB1#9D2DB1
#9D2DB1 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.210 H 321.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2DB1 |
|---|---|
| RGB | rgb(157, 45, 177) |
| HSL | hsl(291, 59%, 44%) |
| HSV | hsv(291, 75%, 69%) |
| CMYK | cmyk(11.3%, 74.6%, 0%, 30.6%) |
| CIE-LAB | lab(41.56, 62.45, -47.20) |
| CIE-LCH | lch(41.56, 78.28, 322.92°) |
| OKLab | oklab(52.38% 0.1636 -0.1322) |
| OKLCH | oklch(52.38% 0.21 321.1) |
| XYZ | xyz(22.7779, 12.2204, 42.7454) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.55
Purply
#983FB2
ΔE00 2.85
Darkorchid
#9932CC
ΔE00 4.60
Medium Purple
#9E43A2
ΔE00 5.02
Barney Purple
#A00498
ΔE00 5.48
Ugly Purple
#A442A0
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2DB1 #41B12D
analogous
#5B2DB1 #9D2DB1 #B12D83
triadic
#9D2DB1 #B19D2D #2DB19D
tetradic
#9D2DB1 #B15B2D #41B12D #2D83B1
square
#9D2DB1 #B15B2D #41B12D #2D83B1
split-complementary
#9D2DB1 #83B12D #2DB15B
monochromatic
#46144F #722180 #9D2DB1 #BD4AD1 #CF7BDD
Accessibility & contrast
On white
6.10
#9D2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#9D2DB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2DB1
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2DB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2DB1 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#9E476D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9d2db1; /* rgb */ color: rgb(157, 45, 177); /* oklch */ color: oklch(52.4% 0.210 321.1);
Tailwind
colors: {
custom: {
50: '#be72c9',
500: '#9d2db1',
950: '#000000',
},
}SCSS
$custom: #9d2db1; $custom-light: #be72c9; $custom-dark: #000000;
JSON
{
"hex": "#9d2db1",
"rgb": {
"r": 157,
"g": 45,
"b": 177
},
"hsl": {
"h": 290.909,
"s": 59.459,
"l": 43.529
},
"oklch": {
"l": 0.52375,
"c": 0.2103,
"h": 321.1
},
"luminance": 0.12219
}Semantic roles & 50–950 ramp
primary
#9D2DB1
secondary
#80C674
accent
#E3455D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82