#AB2CD3#AB2CD3
#AB2CD3 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.5% C 0.245 H 316.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2CD3 |
|---|---|
| RGB | rgb(171, 44, 211) |
| HSL | hsl(286, 65%, 50%) |
| HSV | hsv(286, 79%, 83%) |
| CMYK | cmyk(19%, 79.1%, 0%, 17.3%) |
| CIE-LAB | lab(45.86, 71.72, -60.00) |
| CIE-LCH | lch(45.86, 93.50, 320.08°) |
| OKLab | oklab(56.55% 0.1767 -0.1693) |
| OKLCH | oklch(56.55% 0.245 316.2) |
| XYZ | xyz(29.4513, 15.1637, 62.9909) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 2.62
Darkorchid
#9932CC
ΔE00 3.13
Barney
#AC1DB8
ΔE00 4.61
Bright Violet
#AD0AFD
ΔE00 5.34
Violet (survey)
#9A0EEA
ΔE00 5.41
Purply
#983FB2
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2CD3 #54D32C
analogous
#582CD3 #AB2CD3 #D32CA7
triadic
#AB2CD3 #D3AB2C #2CD3AB
tetradic
#AB2CD3 #D3582C #54D32C #2CA7D3
square
#AB2CD3 #D3582C #54D32C #2CA7D3
split-complementary
#AB2CD3 #A7D32C #2CD358
monochromatic
#59176E #8221A0 #AB2CD3 #BF5FDE #D391E8
Accessibility & contrast
On white
5.21
#AB2CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#AB2CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2CD3
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2CD3 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#2A70D0
Tritanopia (blue-blind)
#A85480
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ab2cd3; /* rgb */ color: rgb(171, 44, 211); /* oklch */ color: oklch(56.5% 0.245 316.2);
Tailwind
colors: {
custom: {
50: '#c975e1',
500: '#ab2cd3',
950: '#000000',
},
}SCSS
$custom: #ab2cd3; $custom-light: #c975e1; $custom-dark: #000000;
JSON
{
"hex": "#ab2cd3",
"rgb": {
"r": 171,
"g": 44,
"b": 211
},
"hsl": {
"h": 285.629,
"s": 65.49,
"l": 50
},
"oklch": {
"l": 0.56548,
"c": 0.24466,
"h": 316.2
},
"luminance": 0.15162
}Semantic roles & 50–950 ramp
primary
#AB2CD3
secondary
#9AD388
accent
#E83F68
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83