#AC2DDB#AC2DDB
#AC2DDB is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.3% C 0.251 H 314.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2DDB |
|---|---|
| RGB | rgb(172, 45, 219) |
| HSL | hsl(284, 71%, 52%) |
| HSV | hsv(284, 79%, 86%) |
| CMYK | cmyk(21.5%, 79.5%, 0%, 14.1%) |
| CIE-LAB | lab(46.66, 73.10, -63.27) |
| CIE-LCH | lch(46.66, 96.68, 319.12°) |
| OKLab | oklab(57.32% 0.1757 -0.1788) |
| OKLCH | oklch(57.32% 0.251 314.5) |
| XYZ | xyz(30.7357, 15.7630, 68.4276) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 2.67
Darkorchid
#9932CC
ΔE00 3.67
Bright Violet
#AD0AFD
ΔE00 4.34
Electric Purple
#AA23FF
ΔE00 4.66
Bright Purple
#BE03FD
ΔE00 4.67
Neon Purple
#BC13FE
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2DDB #5CDB2D
analogous
#552DDB #AC2DDB #DB2DB3
triadic
#AC2DDB #DBAC2D #2DDBAC
tetradic
#AC2DDB #DB552D #5CDB2D #2DB3DB
square
#AC2DDB #DB552D #5CDB2D #2DB3DB
split-complementary
#AC2DDB #B3DB2D #2DDB55
monochromatic
#5E1579 #861EAD #AC2DDB #C161E4 #D595ED
Accessibility & contrast
On white
5.06
#AC2DDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#AC2DDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2DDB
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2DDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2DDB | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#1E72D7
Tritanopia (blue-blind)
#A85885
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ac2ddb; /* rgb */ color: rgb(172, 45, 219); /* oklch */ color: oklch(57.3% 0.251 314.5);
Tailwind
colors: {
custom: {
50: '#ca76e7',
500: '#ac2ddb',
950: '#000000',
},
}SCSS
$custom: #ac2ddb; $custom-light: #ca76e7; $custom-dark: #000000;
JSON
{
"hex": "#ac2ddb",
"rgb": {
"r": 172,
"g": 45,
"b": 219
},
"hsl": {
"h": 283.793,
"s": 70.732,
"l": 51.765
},
"oklch": {
"l": 0.57317,
"c": 0.25071,
"h": 314.5
},
"luminance": 0.15762
}Semantic roles & 50–950 ramp
primary
#AC2DDB
secondary
#A0D88C
accent
#ED3A6B
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84