#AC52D7#AC52D7

#AC52D7 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.7% C 0.205 H 313.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AC52D7
RGBrgb(172, 82, 215)
HSLhsl(281, 62%, 58%)
HSVhsv(281, 62%, 84%)
CMYKcmyk(20%, 61.9%, 0%, 15.7%)
CIE-LABlab(51.51, 57.90, -53.19)
CIE-LCHlch(51.51, 78.63, 317.43°)
OKLaboklab(60.69% 0.1401 -0.1495)
OKLCHoklch(60.69% 0.205 313.1)
XYZxyz(32.2942, 19.7124, 66.3805)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52D7 #7DD752
analogous
#6A52D7 #AC52D7 #D752BF
triadic
#AC52D7 #D7AC52 #52D7AC
tetradic
#AC52D7 #D76A52 #7DD752 #52BFD7
square
#AC52D7 #D76A52 #7DD752 #52BFD7
split-complementary
#AC52D7 #BFD752 #52D76A
monochromatic
#6B218E #902CC0 #AC52D7 #C484E2 #DCB5EE

Accessibility & contrast

On white

4.25
#AC52D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AC52D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52D7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52D7#FFFFFF#000000##000000
##AC52D71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D76DB
Deuteranopia (green-blind)
#4A7DD4
Tritanopia (blue-blind)
#A86B8D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac52d7;
/* rgb */ color: rgb(172, 82, 215);
/* oklch */ color: oklch(60.7% 0.205 313.1);
Tailwind
colors: {
  custom: {
    50: '#c888e4',
    500: '#ac52d7',
    950: '#000000',
  },
}
SCSS
$custom: #ac52d7;
$custom-light: #c888e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52d7",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 280.602,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60693,
    "c": 0.20486,
    "h": 313.1
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

primary
#AC52D7
secondary
#B9DDA8
accent
#E64277
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC52D7

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

Preview Lab → · Contrast checker → · Palette generator →

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