#AC2CD2#AC2CD2
#AC2CD2 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.6% C 0.244 H 316.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2CD2 |
|---|---|
| RGB | rgb(172, 44, 210) |
| HSL | hsl(286, 65%, 50%) |
| HSV | hsv(286, 79%, 82%) |
| CMYK | cmyk(18.1%, 79%, 0%, 17.6%) |
| CIE-LAB | lab(45.94, 71.71, -59.28) |
| CIE-LCH | lch(45.94, 93.04, 320.42°) |
| OKLab | oklab(56.62% 0.178 -0.1671) |
| OKLCH | oklch(56.62% 0.244 316.8) |
| XYZ | xyz(29.5450, 15.2264, 62.3430) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 2.77
Darkorchid
#9932CC
ΔE00 3.31
Barney
#AC1DB8
ΔE00 4.47
Purply
#983FB2
ΔE00 5.38
Bright Violet
#AD0AFD
ΔE00 5.52
Violet (survey)
#9A0EEA
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2CD2 #52D22C
analogous
#592CD2 #AC2CD2 #D22CA5
triadic
#AC2CD2 #D2AC2C #2CD2AC
tetradic
#AC2CD2 #D2592C #52D22C #2CA5D2
square
#AC2CD2 #D2592C #52D22C #2CA5D2
split-complementary
#AC2CD2 #A5D22C #2CD259
monochromatic
#59176D #83219F #AC2CD2 #C05EDD #D491E8
Accessibility & contrast
On white
5.19
#AC2CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#AC2CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2CD2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2CD2 | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#2D70CF
Tritanopia (blue-blind)
#AA5380
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ac2cd2; /* rgb */ color: rgb(172, 44, 210); /* oklch */ color: oklch(56.6% 0.244 316.8);
Tailwind
colors: {
custom: {
50: '#ca75e1',
500: '#ac2cd2',
950: '#000000',
},
}SCSS
$custom: #ac2cd2; $custom-light: #ca75e1; $custom-dark: #000000;
JSON
{
"hex": "#ac2cd2",
"rgb": {
"r": 172,
"g": 44,
"b": 210
},
"hsl": {
"h": 286.265,
"s": 65.354,
"l": 49.804
},
"oklch": {
"l": 0.56616,
"c": 0.24417,
"h": 316.8
},
"luminance": 0.15225
}Semantic roles & 50–950 ramp
primary
#AC2CD2
secondary
#99D287
accent
#E83F66
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83