#AB43B2#AB43B2
#AB43B2 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.6% C 0.190 H 325.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AB43B2 |
|---|---|
| RGB | rgb(171, 67, 178) |
| HSL | hsl(296, 45%, 48%) |
| HSV | hsv(296, 62%, 70%) |
| CMYK | cmyk(3.9%, 62.4%, 0%, 30.2%) |
| CIE-LAB | lab(46.83, 57.21, -39.28) |
| CIE-LCH | lch(46.83, 69.40, 325.53°) |
| OKLab | oklab(56.6% 0.1563 -0.1088) |
| OKLCH | oklch(56.6% 0.19 325.2) |
| XYZ | xyz(26.8370, 15.8882, 43.7640) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.29
Medium Purple
#9E43A2
ΔE00 3.33
Purply
#983FB2
ΔE00 4.34
Barney
#AC1DB8
ΔE00 5.25
Purpley Pink
#C83CB9
ΔE00 5.36
Pinky Purple
#C94CBE
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB43B2 #4AB243
analogous
#7343B2 #AB43B2 #B24381
triadic
#AB43B2 #B2AB43 #43B2AB
tetradic
#AB43B2 #B27343 #4AB243 #4381B2
square
#AB43B2 #B27343 #4AB243 #4381B2
split-complementary
#AB43B2 #81B243 #43B273
monochromatic
#562259 #803286 #AB43B2 #C16BC7 #D497D8
Accessibility & contrast
On white
5.03
#AB43B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#AB43B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB43B2
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB43B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB43B2 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#AF5374
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ab43b2; /* rgb */ color: rgb(171, 67, 178); /* oklch */ color: oklch(56.6% 0.190 325.2);
Tailwind
colors: {
custom: {
50: '#c77ec9',
500: '#ab43b2',
950: '#000000',
},
}SCSS
$custom: #ab43b2; $custom-light: #c77ec9; $custom-dark: #000000;
JSON
{
"hex": "#ab43b2",
"rgb": {
"r": 171,
"g": 67,
"b": 178
},
"hsl": {
"h": 296.216,
"s": 45.306,
"l": 48.039
},
"oklch": {
"l": 0.56602,
"c": 0.19048,
"h": 325.2
},
"luminance": 0.15887
}Semantic roles & 50–950 ramp
primary
#AB43B2
secondary
#90C48D
accent
#D5535B
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130A13
muted
#827C82