#AB3FA2#AB3FA2
#AB3FA2 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.3% C 0.183 H 331.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3FA2 |
|---|---|
| RGB | rgb(171, 63, 162) |
| HSL | hsl(305, 46%, 46%) |
| HSV | hsv(305, 63%, 67%) |
| CMYK | cmyk(0%, 63.2%, 5.3%, 32.9%) |
| CIE-LAB | lab(45.39, 56.14, -32.08) |
| CIE-LCH | lch(45.39, 64.66, 330.25°) |
| OKLab | oklab(55.29% 0.1599 -0.088) |
| OKLCH | oklch(55.29% 0.183 331.2) |
| XYZ | xyz(25.0936, 14.8234, 35.7149) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.30
Medium Purple
#9E43A2
ΔE00 2.61
Purply
#983FB2
ΔE00 5.82
Barney
#AC1DB8
ΔE00 6.07
Purpley Pink
#C83CB9
ΔE00 6.11
Warm Purple
#952E8F
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3FA2 #3FAB48
analogous
#7E3FAB #AB3FA2 #AB3F6C
triadic
#AB3FA2 #A2AB3F #3FA2AB
tetradic
#AB3FA2 #AB7E3F #3FAB48 #3F6CAB
square
#AB3FA2 #AB7E3F #3FAB48 #3F6CAB
split-complementary
#AB3FA2 #6CAB3F #3FAB7E
monochromatic
#521E4D #7E2F78 #AB3FA2 #C562BD #D68FD0
Accessibility & contrast
On white
5.30
#AB3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#AB3FA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3FA2
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3FA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3FA2 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3962A5
Deuteranopia (green-blind)
#5D719F
Tritanopia (blue-blind)
#B24A6B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ab3fa2; /* rgb */ color: rgb(171, 63, 162); /* oklch */ color: oklch(55.3% 0.183 331.2);
Tailwind
colors: {
custom: {
50: '#c77cbe',
500: '#ab3fa2',
950: '#000000',
},
}SCSS
$custom: #ab3fa2; $custom-light: #c77cbe; $custom-dark: #000000;
JSON
{
"hex": "#ab3fa2",
"rgb": {
"r": 171,
"g": 63,
"b": 162
},
"hsl": {
"h": 305,
"s": 46.154,
"l": 45.882
},
"oklch": {
"l": 0.55294,
"c": 0.18256,
"h": 331.2
},
"luminance": 0.14822
}Semantic roles & 50–950 ramp
primary
#AB3FA2
secondary
#85C18A
accent
#D65D52
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A12
muted
#827C81