#AB2FAE#AB2FAE
#AB2FAE is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.212 H 327.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2FAE |
|---|---|
| RGB | rgb(171, 47, 174) |
| HSL | hsl(299, 57%, 43%) |
| HSV | hsv(299, 73%, 68%) |
| CMYK | cmyk(1.7%, 73%, 0%, 31.8%) |
| CIE-LAB | lab(43.87, 64.21, -41.61) |
| CIE-LCH | lch(43.87, 76.51, 327.06°) |
| OKLab | oklab(54.4% 0.1777 -0.1155) |
| OKLCH | oklch(54.4% 0.212 327) |
| XYZ | xyz(25.4507, 13.7487, 41.3495) |
| Luminance | 0.1375 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.48
Medium Purple
#9E43A2
ΔE00 3.72
Ugly Purple
#A442A0
ΔE00 3.81
Purply
#983FB2
ΔE00 4.04
Barney Purple
#A00498
ΔE00 5.91
Warm Purple
#952E8F
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2FAE #32AE2F
analogous
#6B2FAE #AB2FAE #AE2F71
triadic
#AB2FAE #AEAB2F #2FAEAB
tetradic
#AB2FAE #AE6B2F #32AE2F #2F71AE
square
#AB2FAE #AE6B2F #32AE2F #2F71AE
split-complementary
#AB2FAE #71AE2F #2FAE6B
monochromatic
#4C154E #7C227E #AB2FAE #CB4CCF #D97CDC
Accessibility & contrast
On white
5.60
#AB2FAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#AB2FAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2FAE
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2FAE | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#105EB1
Deuteranopia (green-blind)
#4F6DAB
Tritanopia (blue-blind)
#B0446C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ab2fae; /* rgb */ color: rgb(171, 47, 174); /* oklch */ color: oklch(54.4% 0.212 327.0);
Tailwind
colors: {
custom: {
50: '#c874c7',
500: '#ab2fae',
950: '#000000',
},
}SCSS
$custom: #ab2fae; $custom-light: #c874c7; $custom-dark: #000000;
JSON
{
"hex": "#ab2fae",
"rgb": {
"r": 171,
"g": 47,
"b": 174
},
"hsl": {
"h": 298.583,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.54402,
"c": 0.21194,
"h": 327
},
"luminance": 0.13747
}Semantic roles & 50–950 ramp
primary
#AB2FAE
secondary
#77C475
accent
#E1474B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82