#AC52D9#AC52D9

#AC52D9 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 60.8% C 0.207 H 312.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AC52D9
RGBrgb(172, 82, 217)
HSLhsl(280, 64%, 59%)
HSVhsv(280, 62%, 85%)
CMYKcmyk(20.7%, 62.2%, 0%, 14.9%)
CIE-LABlab(51.63, 58.32, -54.14)
CIE-LCHlch(51.63, 79.58, 317.13°)
OKLaboklab(60.82% 0.14 -0.1523)
OKLCHoklch(60.82% 0.207 312.6)
XYZxyz(32.5527, 19.8159, 67.7422)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52D9 #7FD952
analogous
#6852D9 #AC52D9 #D952C2
triadic
#AC52D9 #D9AC52 #52D9AC
tetradic
#AC52D9 #D96852 #7FD952 #52C2D9
square
#AC52D9 #D96852 #7FD952 #52C2D9
split-complementary
#AC52D9 #C2D952 #52D968
monochromatic
#6B2091 #902BC3 #AC52D9 #C484E4 #DCB6EF

Accessibility & contrast

On white

4.23
#AC52D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AC52D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52D9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52D9#FFFFFF#000000##000000
##AC52D91.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1976DD
Deuteranopia (green-blind)
#497DD6
Tritanopia (blue-blind)
#A76C8E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac52d9;
/* rgb */ color: rgb(172, 82, 217);
/* oklch */ color: oklch(60.8% 0.207 312.6);
Tailwind
colors: {
  custom: {
    50: '#c888e5',
    500: '#ac52d9',
    950: '#000000',
  },
}
SCSS
$custom: #ac52d9;
$custom-light: #c888e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52d9",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 280,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60817,
    "c": 0.20686,
    "h": 312.6
  },
  "luminance": 0.19815
}

Semantic roles & 50–950 ramp

primary
#AC52D9
secondary
#BBDEA9
accent
#E74178
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC52D9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AC52D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva