#AB43AF#AB43AF
#AB43AF is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.188 H 326.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AB43AF |
|---|---|
| RGB | rgb(171, 67, 175) |
| HSL | hsl(298, 45%, 47%) |
| HSV | hsv(298, 62%, 69%) |
| CMYK | cmyk(2.3%, 61.7%, 0%, 31.4%) |
| CIE-LAB | lab(46.67, 56.67, -37.76) |
| CIE-LCH | lch(46.67, 68.10, 326.32°) |
| OKLab | oklab(56.44% 0.1561 -0.1045) |
| OKLCH | oklch(56.44% 0.188 326.2) |
| XYZ | xyz(26.5391, 15.7690, 42.1950) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.79
Medium Purple
#9E43A2
ΔE00 3.01
Purply
#983FB2
ΔE00 4.56
Purpley Pink
#C83CB9
ΔE00 5.34
Barney
#AC1DB8
ΔE00 5.41
Pinky Purple
#C94CBE
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB43AF #47AF43
analogous
#7543AF #AB43AF #AF437D
triadic
#AB43AF #AFAB43 #43AFAB
tetradic
#AB43AF #AF7543 #47AF43 #437DAF
square
#AB43AF #AF7543 #47AF43 #437DAF
split-complementary
#AB43AF #7DAF43 #43AF75
monochromatic
#552156 #803283 #AB43AF #C269C6 #D496D7
Accessibility & contrast
On white
5.06
#AB43AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#AB43AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB43AF
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB43AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB43AF | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#5973AC
Tritanopia (blue-blind)
#AF5273
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ab43af; /* rgb */ color: rgb(171, 67, 175); /* oklch */ color: oklch(56.4% 0.188 326.2);
Tailwind
colors: {
custom: {
50: '#c77ec7',
500: '#ab43af',
950: '#000000',
},
}SCSS
$custom: #ab43af; $custom-light: #c77ec7; $custom-dark: #000000;
JSON
{
"hex": "#ab43af",
"rgb": {
"r": 171,
"g": 67,
"b": 175
},
"hsl": {
"h": 297.778,
"s": 44.628,
"l": 47.451
},
"oklch": {
"l": 0.56437,
"c": 0.18786,
"h": 326.2
},
"luminance": 0.15767
}Semantic roles & 50–950 ramp
primary
#AB43AF
secondary
#8DC28B
accent
#D45358
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82