#AB3BAA#AB3BAA
#AB3BAA is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.3% C 0.194 H 328.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3BAA |
|---|---|
| RGB | rgb(171, 59, 170) |
| HSL | hsl(301, 49%, 45%) |
| HSV | hsv(301, 65%, 67%) |
| CMYK | cmyk(0%, 65.5%, 0.6%, 32.9%) |
| CIE-LAB | lab(45.21, 59.14, -37.12) |
| CIE-LCH | lch(45.21, 69.82, 327.88°) |
| OKLab | oklab(55.29% 0.1653 -0.1025) |
| OKLCH | oklch(55.29% 0.194 328.2) |
| XYZ | xyz(25.6139, 14.6899, 39.5088) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.17
Medium Purple
#9E43A2
ΔE00 2.56
Barney
#AC1DB8
ΔE00 4.46
Purply
#983FB2
ΔE00 4.49
Purpley Pink
#C83CB9
ΔE00 6.03
Warm Purple
#952E8F
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3BAA #3BAB3C
analogous
#743BAB #AB3BAA #AB3B72
triadic
#AB3BAA #AAAB3B #3BAAAB
tetradic
#AB3BAA #AB743B #3BAB3C #3B72AB
square
#AB3BAA #AB743B #3BAB3C #3B72AB
split-complementary
#AB3BAA #72AB3B #3BAB74
monochromatic
#501C50 #7D2B7D #AB3BAA #C75CC6 #D78AD6
Accessibility & contrast
On white
5.33
#AB3BAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#AB3BAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3BAA
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3BAA | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C62AD
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#B04A6D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ab3baa; /* rgb */ color: rgb(171, 59, 170); /* oklch */ color: oklch(55.3% 0.194 328.2);
Tailwind
colors: {
custom: {
50: '#c77ac4',
500: '#ab3baa',
950: '#000000',
},
}SCSS
$custom: #ab3baa; $custom-light: #c77ac4; $custom-dark: #000000;
JSON
{
"hex": "#ab3baa",
"rgb": {
"r": 171,
"g": 59,
"b": 170
},
"hsl": {
"h": 300.536,
"s": 48.696,
"l": 45.098
},
"oklch": {
"l": 0.55292,
"c": 0.19448,
"h": 328.2
},
"luminance": 0.14688
}Semantic roles & 50–950 ramp
primary
#AB3BAA
secondary
#81C181
accent
#D85150
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81