#AB3CA7#AB3CA7
#AB3CA7 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.2% C 0.191 H 329.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3CA7 |
|---|---|
| RGB | rgb(171, 60, 167) |
| HSL | hsl(302, 48%, 45%) |
| HSV | hsv(302, 65%, 67%) |
| CMYK | cmyk(0%, 64.9%, 2.3%, 32.9%) |
| CIE-LAB | lab(45.19, 58.23, -35.36) |
| CIE-LCH | lch(45.19, 68.12, 328.73°) |
| OKLab | oklab(55.23% 0.1639 -0.0975) |
| OKLCH | oklch(55.23% 0.191 329.3) |
| XYZ | xyz(25.3853, 14.6815, 38.0485) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.72
Medium Purple
#9E43A2
ΔE00 2.44
Purply
#983FB2
ΔE00 4.92
Barney
#AC1DB8
ΔE00 4.96
Purpley Pink
#C83CB9
ΔE00 6.04
Warm Purple
#952E8F
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3CA7 #3CAB40
analogous
#773CAB #AB3CA7 #AB3C70
triadic
#AB3CA7 #A7AB3C #3CA7AB
tetradic
#AB3CA7 #AB773C #3CAB40 #3C70AB
square
#AB3CA7 #AB773C #3CAB40 #3C70AB
split-complementary
#AB3CA7 #70AB3C #3CAB77
monochromatic
#501C4F #7E2C7B #AB3CA7 #C65EC3 #D68BD4
Accessibility & contrast
On white
5.34
#AB3CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#AB3CA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3CA7
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3CA7 | 1.00 | 5.34 | 3.94 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3161AA
Deuteranopia (green-blind)
#5970A4
Tritanopia (blue-blind)
#B1496C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ab3ca7; /* rgb */ color: rgb(171, 60, 167); /* oklch */ color: oklch(55.2% 0.191 329.3);
Tailwind
colors: {
custom: {
50: '#c77ac1',
500: '#ab3ca7',
950: '#000000',
},
}SCSS
$custom: #ab3ca7; $custom-light: #c77ac1; $custom-dark: #000000;
JSON
{
"hex": "#ab3ca7",
"rgb": {
"r": 171,
"g": 60,
"b": 167
},
"hsl": {
"h": 302.162,
"s": 48.052,
"l": 45.294
},
"oklch": {
"l": 0.55233,
"c": 0.19071,
"h": 329.3
},
"luminance": 0.1468
}Semantic roles & 50–950 ramp
primary
#AB3CA7
secondary
#82C184
accent
#D85550
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81