#AB3FA1#AB3FA1
#AB3FA1 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.182 H 331.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3FA1 |
|---|---|
| RGB | rgb(171, 63, 161) |
| HSL | hsl(306, 46%, 46%) |
| HSV | hsv(306, 63%, 67%) |
| CMYK | cmyk(0%, 63.2%, 5.8%, 32.9%) |
| CIE-LAB | lab(45.34, 55.97, -31.56) |
| CIE-LCH | lch(45.34, 64.26, 330.58°) |
| OKLab | oklab(55.24% 0.1598 -0.0865) |
| OKLCH | oklch(55.24% 0.182 331.6) |
| XYZ | xyz(25.0051, 14.7880, 35.2487) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.33
Medium Purple
#9E43A2
ΔE00 2.69
Purply
#983FB2
ΔE00 5.98
Purpley Pink
#C83CB9
ΔE00 6.18
Barney
#AC1DB8
ΔE00 6.21
Warm Purple
#952E8F
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3FA1 #3FAB49
analogous
#7F3FAB #AB3FA1 #AB3F6B
triadic
#AB3FA1 #A1AB3F #3FA1AB
tetradic
#AB3FA1 #AB7F3F #3FAB49 #3F6BAB
square
#AB3FA1 #AB7F3F #3FAB49 #3F6BAB
split-complementary
#AB3FA1 #6BAB3F #3FAB7F
monochromatic
#521E4D #7E2F77 #AB3FA1 #C562BC #D68FCF
Accessibility & contrast
On white
5.31
#AB3FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#AB3FA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3FA1
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3FA1 | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3962A4
Deuteranopia (green-blind)
#5E719E
Tritanopia (blue-blind)
#B2496A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ab3fa1; /* rgb */ color: rgb(171, 63, 161); /* oklch */ color: oklch(55.2% 0.182 331.6);
Tailwind
colors: {
custom: {
50: '#c77cbd',
500: '#ab3fa1',
950: '#000000',
},
}SCSS
$custom: #ab3fa1; $custom-light: #c77cbd; $custom-dark: #000000;
JSON
{
"hex": "#ab3fa1",
"rgb": {
"r": 171,
"g": 63,
"b": 161
},
"hsl": {
"h": 305.556,
"s": 46.154,
"l": 45.882
},
"oklch": {
"l": 0.55242,
"c": 0.18175,
"h": 331.6
},
"luminance": 0.14786
}Semantic roles & 50–950 ramp
primary
#AB3FA1
secondary
#85C18B
accent
#D65E52
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A12
muted
#827C81