#AB339E#AB339E
#AB339E is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.9% C 0.195 H 332.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AB339E |
|---|---|
| RGB | rgb(171, 51, 158) |
| HSL | hsl(307, 54%, 44%) |
| HSV | hsv(307, 70%, 67%) |
| CMYK | cmyk(0%, 70.2%, 7.6%, 32.9%) |
| CIE-LAB | lab(43.50, 60.21, -32.66) |
| CIE-LCH | lch(43.50, 68.50, 331.52°) |
| OKLab | oklab(53.86% 0.1733 -0.0896) |
| OKLCH | oklch(53.86% 0.195 332.7) |
| XYZ | xyz(24.1500, 13.4962, 33.6742) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.52
Medium Purple
#9E43A2
ΔE00 3.36
Warm Purple
#952E8F
ΔE00 4.84
Barney
#AC1DB8
ΔE00 5.27
Barney Purple
#A00498
ΔE00 5.76
Purply
#983FB2
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB339E #33AB40
analogous
#7C33AB #AB339E #AB3362
triadic
#AB339E #9EAB33 #339EAB
tetradic
#AB339E #AB7C33 #33AB40 #3362AB
square
#AB339E #AB7C33 #33AB40 #3362AB
split-complementary
#AB339E #62AB33 #33AB7C
monochromatic
#4D1747 #7C2572 #AB339E #CB50BE #D97FCF
Accessibility & contrast
On white
5.68
#AB339E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#AB339E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB339E
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB339E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB339E | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5CA1
Deuteranopia (green-blind)
#596D9B
Tritanopia (blue-blind)
#B23F64
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ab339e; /* rgb */ color: rgb(171, 51, 158); /* oklch */ color: oklch(53.9% 0.195 332.7);
Tailwind
colors: {
custom: {
50: '#c776bb',
500: '#ab339e',
950: '#000000',
},
}SCSS
$custom: #ab339e; $custom-light: #c776bb; $custom-dark: #000000;
JSON
{
"hex": "#ab339e",
"rgb": {
"r": 171,
"g": 51,
"b": 158
},
"hsl": {
"h": 306.5,
"s": 54.054,
"l": 43.529
},
"oklch": {
"l": 0.53859,
"c": 0.19506,
"h": 332.7
},
"luminance": 0.13494
}Semantic roles & 50–950 ramp
primary
#AB339E
secondary
#78C280
accent
#DD5A4A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81