#AC2EDB#AC2EDB
#AC2EDB is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.4% C 0.250 H 314.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2EDB |
|---|---|
| RGB | rgb(172, 46, 219) |
| HSL | hsl(284, 71%, 52%) |
| HSV | hsv(284, 79%, 86%) |
| CMYK | cmyk(21.5%, 79%, 0%, 14.1%) |
| CIE-LAB | lab(46.76, 72.80, -63.11) |
| CIE-LCH | lch(46.76, 96.35, 319.08°) |
| OKLab | oklab(57.39% 0.175 -0.1784) |
| OKLCH | oklch(57.39% 0.25 314.4) |
| XYZ | xyz(30.7743, 15.8402, 68.4405) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 2.79
Darkorchid
#9932CC
ΔE00 3.72
Bright Violet
#AD0AFD
ΔE00 4.37
Electric Purple
#AA23FF
ΔE00 4.65
Bright Purple
#BE03FD
ΔE00 4.66
Neon Purple
#BC13FE
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2EDB #5DDB2E
analogous
#552EDB #AC2EDB #DB2EB4
triadic
#AC2EDB #DBAC2E #2EDBAC
tetradic
#AC2EDB #DB552E #5DDB2E #2EB4DB
square
#AC2EDB #DB552E #5DDB2E #2EB4DB
split-complementary
#AC2EDB #B4DB2E #2EDB55
monochromatic
#5E157A #871EAE #AC2EDB #C162E4 #D596ED
Accessibility & contrast
On white
5.04
#AC2EDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#AC2EDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2EDB
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2EDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2EDB | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#1F72D7
Tritanopia (blue-blind)
#A85885
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ac2edb; /* rgb */ color: rgb(172, 46, 219); /* oklch */ color: oklch(57.4% 0.250 314.4);
Tailwind
colors: {
custom: {
50: '#ca76e7',
500: '#ac2edb',
950: '#000000',
},
}SCSS
$custom: #ac2edb; $custom-light: #ca76e7; $custom-dark: #000000;
JSON
{
"hex": "#ac2edb",
"rgb": {
"r": 172,
"g": 46,
"b": 219
},
"hsl": {
"h": 283.699,
"s": 70.612,
"l": 51.961
},
"oklch": {
"l": 0.57388,
"c": 0.24985,
"h": 314.4
},
"luminance": 0.15839
}Semantic roles & 50–950 ramp
primary
#AC2EDB
secondary
#A1D88D
accent
#ED3A6B
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84