#AB3CD2#AB3CD2
#AB3CD2 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.228 H 315.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3CD2 |
|---|---|
| RGB | rgb(171, 60, 210) |
| HSL | hsl(284, 63%, 53%) |
| HSV | hsv(284, 71%, 82%) |
| CMYK | cmyk(18.6%, 71.4%, 0%, 17.6%) |
| CIE-LAB | lab(47.68, 66.11, -56.48) |
| CIE-LCH | lch(47.68, 86.95, 319.49°) |
| OKLab | oklab(57.82% 0.1631 -0.159) |
| OKLCH | oklch(57.82% 0.228 315.7) |
| XYZ | xyz(30.0415, 16.5439, 62.5711) |
| Luminance | 0.1654 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.38
Vibrant Purple
#AD03DE
ΔE00 4.68
Lightish Purple
#A552E6
ΔE00 5.42
Purply
#983FB2
ΔE00 5.50
Barney
#AC1DB8
ΔE00 5.86
Bright Purple
#BE03FD
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3CD2 #63D23C
analogous
#603CD2 #AB3CD2 #D23CAE
triadic
#AB3CD2 #D2AB3C #3CD2AB
tetradic
#AB3CD2 #D2603C #63D23C #3CAED2
square
#AB3CD2 #D2603C #63D23C #3CAED2
split-complementary
#AB3CD2 #AED23C #3CD260
monochromatic
#601C78 #8827AA #AB3CD2 #C06EDD #D69FE9
Accessibility & contrast
On white
4.87
#AB3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#AB3CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3CD2
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3CD2 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#3974CF
Tritanopia (blue-blind)
#A85B84
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ab3cd2; /* rgb */ color: rgb(171, 60, 210); /* oklch */ color: oklch(57.8% 0.228 315.7);
Tailwind
colors: {
custom: {
50: '#c87ce1',
500: '#ab3cd2',
950: '#000000',
},
}SCSS
$custom: #ab3cd2; $custom-light: #c87ce1; $custom-dark: #000000;
JSON
{
"hex": "#ab3cd2",
"rgb": {
"r": 171,
"g": 60,
"b": 210
},
"hsl": {
"h": 284.4,
"s": 62.5,
"l": 52.941
},
"oklch": {
"l": 0.57816,
"c": 0.22777,
"h": 315.7
},
"luminance": 0.16543
}Semantic roles & 50–950 ramp
primary
#AB3CD2
secondary
#A5D594
accent
#E6426D
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83