#AB3BAE#AB3BAE
#AB3BAE is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.5% C 0.198 H 326.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3BAE |
|---|---|
| RGB | rgb(171, 59, 174) |
| HSL | hsl(298, 49%, 46%) |
| HSV | hsv(298, 66%, 68%) |
| CMYK | cmyk(1.7%, 66.1%, 0%, 31.8%) |
| CIE-LAB | lab(45.42, 59.83, -39.15) |
| CIE-LCH | lch(45.42, 71.50, 326.80°) |
| OKLab | oklab(55.51% 0.1654 -0.1084) |
| OKLCH | oklch(55.51% 0.198 326.8) |
| XYZ | xyz(25.9981, 14.8436, 41.5319) |
| Luminance | 0.1484 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.75
Medium Purple
#9E43A2
ΔE00 2.85
Purply
#983FB2
ΔE00 4.06
Barney
#AC1DB8
ΔE00 4.08
Purpley Pink
#C83CB9
ΔE00 5.97
Warm Purple
#952E8F
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3BAE #3EAE3B
analogous
#713BAE #AB3BAE #AE3B77
triadic
#AB3BAE #AEAB3B #3BAEAB
tetradic
#AB3BAE #AE713B #3EAE3B #3B77AE
square
#AB3BAE #AE713B #3EAE3B #3B77AE
split-complementary
#AB3BAE #77AE3B #3BAE71
monochromatic
#511C53 #7E2C80 #AB3BAE #C65EC8 #D68CD8
Accessibility & contrast
On white
5.29
#AB3BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#AB3BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3BAE
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3BAE | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#5570AB
Tritanopia (blue-blind)
#B04B70
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ab3bae; /* rgb */ color: rgb(171, 59, 174); /* oklch */ color: oklch(55.5% 0.198 326.8);
Tailwind
colors: {
custom: {
50: '#c77ac6',
500: '#ab3bae',
950: '#000000',
},
}SCSS
$custom: #ab3bae; $custom-light: #c77ac6; $custom-dark: #000000;
JSON
{
"hex": "#ab3bae",
"rgb": {
"r": 171,
"g": 59,
"b": 174
},
"hsl": {
"h": 298.435,
"s": 49.356,
"l": 45.686
},
"oklch": {
"l": 0.55514,
"c": 0.19778,
"h": 326.8
},
"luminance": 0.14842
}Semantic roles & 50–950 ramp
primary
#AB3BAE
secondary
#84C282
accent
#D94F53
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82