#AB3CA1#AB3CA1
#AB3CA1 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.9% C 0.186 H 331.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3CA1 |
|---|---|
| RGB | rgb(171, 60, 161) |
| HSL | hsl(305, 48%, 45%) |
| HSV | hsv(305, 65%, 67%) |
| CMYK | cmyk(0%, 64.9%, 5.8%, 32.9%) |
| CIE-LAB | lab(44.89, 57.22, -32.27) |
| CIE-LCH | lch(44.89, 65.70, 330.58°) |
| OKLab | oklab(54.92% 0.1634 -0.0885) |
| OKLCH | oklch(54.92% 0.186 331.6) |
| XYZ | xyz(24.8434, 14.4647, 35.1948) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.43
Medium Purple
#9E43A2
ΔE00 2.66
Barney
#AC1DB8
ΔE00 5.78
Purply
#983FB2
ΔE00 5.80
Warm Purple
#952E8F
ΔE00 5.89
Purpley Pink
#C83CB9
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3CA1 #3CAB46
analogous
#7D3CAB #AB3CA1 #AB3C6A
triadic
#AB3CA1 #A1AB3C #3CA1AB
tetradic
#AB3CA1 #AB7D3C #3CAB46 #3C6AAB
square
#AB3CA1 #AB7D3C #3CAB46 #3C6AAB
split-complementary
#AB3CA1 #6AAB3C #3CAB7D
monochromatic
#501C4C #7E2C76 #AB3CA1 #C65EBD #D68BD0
Accessibility & contrast
On white
5.39
#AB3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#AB3CA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3CA1
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3CA1 | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3660A4
Deuteranopia (green-blind)
#5C709E
Tritanopia (blue-blind)
#B24769
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ab3ca1; /* rgb */ color: rgb(171, 60, 161); /* oklch */ color: oklch(54.9% 0.186 331.6);
Tailwind
colors: {
custom: {
50: '#c77abd',
500: '#ab3ca1',
950: '#000000',
},
}SCSS
$custom: #ab3ca1; $custom-light: #c77abd; $custom-dark: #000000;
JSON
{
"hex": "#ab3ca1",
"rgb": {
"r": 171,
"g": 60,
"b": 161
},
"hsl": {
"h": 305.405,
"s": 48.052,
"l": 45.294
},
"oklch": {
"l": 0.54915,
"c": 0.18588,
"h": 331.6
},
"luminance": 0.14463
}Semantic roles & 50–950 ramp
primary
#AB3CA1
secondary
#82C188
accent
#D85C50
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A12
muted
#827C81