#AB3CAA#AB3CAA
#AB3CAA is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.4% C 0.193 H 328.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3CAA |
|---|---|
| RGB | rgb(171, 60, 170) |
| HSL | hsl(301, 48%, 45%) |
| HSV | hsv(301, 65%, 67%) |
| CMYK | cmyk(0%, 64.9%, 0.6%, 32.9%) |
| CIE-LAB | lab(45.35, 58.74, -36.90) |
| CIE-LCH | lch(45.35, 69.36, 327.87°) |
| OKLab | oklab(55.4% 0.1641 -0.1019) |
| OKLCH | oklch(55.4% 0.193 328.2) |
| XYZ | xyz(25.6658, 14.7937, 39.5261) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.10
Medium Purple
#9E43A2
ΔE00 2.52
Purply
#983FB2
ΔE00 4.53
Barney
#AC1DB8
ΔE00 4.62
Purpley Pink
#C83CB9
ΔE00 5.94
Warm Purple
#952E8F
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3CAA #3CAB3D
analogous
#753CAB #AB3CAA #AB3C72
triadic
#AB3CAA #AAAB3C #3CAAAB
tetradic
#AB3CAA #AB753C #3CAB3D #3C72AB
square
#AB3CAA #AB753C #3CAB3D #3C72AB
split-complementary
#AB3CAA #72AB3C #3CAB75
monochromatic
#501C50 #7E2C7D #AB3CAA #C65EC5 #D68BD6
Accessibility & contrast
On white
5.31
#AB3CAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#AB3CAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3CAA
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3CAA | 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)
#2E62AD
Deuteranopia (green-blind)
#5870A7
Tritanopia (blue-blind)
#B04B6E
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ab3caa; /* rgb */ color: rgb(171, 60, 170); /* oklch */ color: oklch(55.4% 0.193 328.2);
Tailwind
colors: {
custom: {
50: '#c77ac4',
500: '#ab3caa',
950: '#000000',
},
}SCSS
$custom: #ab3caa; $custom-light: #c77ac4; $custom-dark: #000000;
JSON
{
"hex": "#ab3caa",
"rgb": {
"r": 171,
"g": 60,
"b": 170
},
"hsl": {
"h": 300.541,
"s": 48.052,
"l": 45.294
},
"oklch": {
"l": 0.55396,
"c": 0.19317,
"h": 328.2
},
"luminance": 0.14792
}Semantic roles & 50–950 ramp
primary
#AB3CAA
secondary
#82C182
accent
#D85150
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81