#AC2CD4#AC2CD4
#AC2CD4 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.8% C 0.246 H 316.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2CD4 |
|---|---|
| RGB | rgb(172, 44, 212) |
| HSL | hsl(286, 66%, 50%) |
| HSV | hsv(286, 79%, 83%) |
| CMYK | cmyk(18.9%, 79.2%, 0%, 16.9%) |
| CIE-LAB | lab(46.08, 72.08, -60.21) |
| CIE-LCH | lch(46.08, 93.92, 320.13°) |
| OKLab | oklab(56.76% 0.1777 -0.1698) |
| OKLCH | oklch(56.76% 0.246 316.3) |
| XYZ | xyz(29.7958, 15.3267, 63.6634) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 2.66
Darkorchid
#9932CC
ΔE00 3.33
Barney
#AC1DB8
ΔE00 4.75
Bright Violet
#AD0AFD
ΔE00 5.24
Violet (survey)
#9A0EEA
ΔE00 5.49
Bright Purple
#BE03FD
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2CD4 #54D42C
analogous
#582CD4 #AC2CD4 #D42CA8
triadic
#AC2CD4 #D4AC2C #2CD4AC
tetradic
#AC2CD4 #D4582C #54D42C #2CA8D4
square
#AC2CD4 #D4582C #54D42C #2CA8D4
split-complementary
#AC2CD4 #A8D42C #2CD458
monochromatic
#5A176F #8321A2 #AC2CD4 #C05FDE #D492E9
Accessibility & contrast
On white
5.17
#AC2CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#AC2CD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2CD4
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2CD4 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#2A71D0
Tritanopia (blue-blind)
#A95481
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ac2cd4; /* rgb */ color: rgb(172, 44, 212); /* oklch */ color: oklch(56.8% 0.246 316.3);
Tailwind
colors: {
custom: {
50: '#ca75e2',
500: '#ac2cd4',
950: '#000000',
},
}SCSS
$custom: #ac2cd4; $custom-light: #ca75e2; $custom-dark: #000000;
JSON
{
"hex": "#ac2cd4",
"rgb": {
"r": 172,
"g": 44,
"b": 212
},
"hsl": {
"h": 285.714,
"s": 66.142,
"l": 50.196
},
"oklch": {
"l": 0.56755,
"c": 0.24581,
"h": 316.3
},
"luminance": 0.15325
}Semantic roles & 50–950 ramp
primary
#AC2CD4
secondary
#9AD388
accent
#E93F67
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140915
muted
#827B84