#AC2A9E#AC2A9E
#AC2A9E is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.206 H 332.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2A9E |
|---|---|
| RGB | rgb(172, 42, 158) |
| HSL | hsl(306, 61%, 42%) |
| HSV | hsv(306, 76%, 67%) |
| CMYK | cmyk(0%, 75.6%, 8.1%, 32.5%) |
| CIE-LAB | lab(42.61, 63.47, -34.06) |
| CIE-LCH | lch(42.61, 72.03, 331.78°) |
| OKLab | oklab(53.25% 0.1831 -0.0935) |
| OKLCH | oklch(53.25% 0.206 332.9) |
| XYZ | xyz(24.0129, 12.8972, 33.5658) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.60
Medium Purple
#9E43A2
ΔE00 4.18
Warm Purple
#952E8F
ΔE00 4.47
Barney Purple
#A00498
ΔE00 4.73
Barney
#AC1DB8
ΔE00 4.77
Purply
#983FB2
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2A9E #2AAC38
analogous
#792AAC #AC2A9E #AC2A5D
triadic
#AC2A9E #9EAC2A #2A9EAC
tetradic
#AC2A9E #AC792A #2AAC38 #2A5DAC
square
#AC2A9E #AC792A #2AAC38 #2A5DAC
split-complementary
#AC2A9E #5DAC2A #2AAC79
monochromatic
#4A1244 #7B1E71 #AC2A9E #D142C2 #DD73D2
Accessibility & contrast
On white
5.87
#AC2A9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#AC2A9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2A9E
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2A9E | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2359A1
Deuteranopia (green-blind)
#566B9B
Tritanopia (blue-blind)
#B43862
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ac2a9e; /* rgb */ color: rgb(172, 42, 158); /* oklch */ color: oklch(53.2% 0.206 332.9);
Tailwind
colors: {
custom: {
50: '#c972bb',
500: '#ac2a9e',
950: '#000000',
},
}SCSS
$custom: #ac2a9e; $custom-light: #c972bb; $custom-dark: #000000;
JSON
{
"hex": "#ac2a9e",
"rgb": {
"r": 172,
"g": 42,
"b": 158
},
"hsl": {
"h": 306.462,
"s": 60.748,
"l": 41.961
},
"oklch": {
"l": 0.53248,
"c": 0.20562,
"h": 332.9
},
"luminance": 0.12895
}Semantic roles & 50–950 ramp
primary
#AC2A9E
secondary
#6DC477
accent
#E45544
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81