#AD2F9D#AD2F9D
#AD2F9D is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.8% C 0.200 H 333.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AD2F9D |
|---|---|
| RGB | rgb(173, 47, 157) |
| HSL | hsl(308, 57%, 43%) |
| HSV | hsv(308, 73%, 68%) |
| CMYK | cmyk(0%, 72.8%, 9.2%, 32.2%) |
| CIE-LAB | lab(43.29, 61.93, -32.37) |
| CIE-LCH | lch(43.29, 69.88, 332.40°) |
| OKLab | oklab(53.76% 0.1794 -0.0887) |
| OKLCH | oklch(53.76% 0.2 333.7) |
| XYZ | xyz(24.3361, 13.3537, 33.1875) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.10
Medium Purple
#9E43A2
ΔE00 3.95
Warm Purple
#952E8F
ΔE00 4.88
Barney
#AC1DB8
ΔE00 5.34
Barney Purple
#A00498
ΔE00 5.54
Purply
#983FB2
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD2F9D #2FAD3F
analogous
#7E2FAD #AD2F9D #AD2F5E
triadic
#AD2F9D #9DAD2F #2F9DAD
tetradic
#AD2F9D #AD7E2F #2FAD3F #2F5EAD
square
#AD2F9D #AD7E2F #2FAD3F #2F5EAD
split-complementary
#AD2F9D #5EAD2F #2FAD7E
monochromatic
#4D1546 #7D2271 #AD2F9D #CE4BBD #DB7BCF
Accessibility & contrast
On white
5.72
#AD2F9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#AD2F9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AD2F9D
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD2F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AD2F9D | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5BA0
Deuteranopia (green-blind)
#5A6D9A
Tritanopia (blue-blind)
#B53B63
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ad2f9d; /* rgb */ color: rgb(173, 47, 157); /* oklch */ color: oklch(53.8% 0.200 333.7);
Tailwind
colors: {
custom: {
50: '#c974ba',
500: '#ad2f9d',
950: '#000000',
},
}SCSS
$custom: #ad2f9d; $custom-light: #c974ba; $custom-dark: #000000;
JSON
{
"hex": "#ad2f9d",
"rgb": {
"r": 173,
"g": 47,
"b": 157
},
"hsl": {
"h": 307.619,
"s": 57.273,
"l": 43.137
},
"oklch": {
"l": 0.53755,
"c": 0.20008,
"h": 333.7
},
"luminance": 0.13352
}Semantic roles & 50–950 ramp
primary
#AD2F9D
secondary
#74C47E
accent
#E15B47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80