#AC52D8#AC52D8

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

Color values

HEX#AC52D8
RGBrgb(172, 82, 216)
HSLhsl(280, 63%, 58%)
HSVhsv(280, 62%, 85%)
CMYKcmyk(20.4%, 62%, 0%, 15.3%)
CIE-LABlab(51.57, 58.11, -53.66)
CIE-LCHlch(51.57, 79.10, 317.28°)
OKLaboklab(60.76% 0.1401 -0.1509)
OKLCHoklch(60.76% 0.206 312.9)
XYZxyz(32.4231, 19.7640, 67.0593)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52D8 #7ED852
analogous
#6952D8 #AC52D8 #D852C1
triadic
#AC52D8 #D8AC52 #52D8AC
tetradic
#AC52D8 #D86952 #7ED852 #52C1D8
square
#AC52D8 #D86952 #7ED852 #52C1D8
split-complementary
#AC52D8 #C1D852 #52D869
monochromatic
#6B208F #902CC1 #AC52D8 #C484E3 #DCB6EF

Accessibility & contrast

On white

4.24
#AC52D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AC52D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52D8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52D8#FFFFFF#000000##000000
##AC52D81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B76DC
Deuteranopia (green-blind)
#4A7DD5
Tritanopia (blue-blind)
#A76B8E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac52d8;
/* rgb */ color: rgb(172, 82, 216);
/* oklch */ color: oklch(60.8% 0.206 312.9);
Tailwind
colors: {
  custom: {
    50: '#c888e5',
    500: '#ac52d8',
    950: '#000000',
  },
}
SCSS
$custom: #ac52d8;
$custom-light: #c888e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52d8",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 280.299,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60755,
    "c": 0.20586,
    "h": 312.9
  },
  "luminance": 0.19763
}

Semantic roles & 50–950 ramp

primary
#AC52D8
secondary
#BADDA8
accent
#E64278
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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