#AC52CE#AC52CE

#AC52CE is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.2% C 0.196 H 315.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AC52CE
RGBrgb(172, 82, 206)
HSLhsl(284, 56%, 56%)
HSVhsv(284, 60%, 81%)
CMYKcmyk(16.5%, 60.2%, 0%, 19.2%)
CIE-LABlab(50.99, 56.04, -48.88)
CIE-LCHlch(50.99, 74.36, 318.90°)
OKLaboklab(60.15% 0.1401 -0.1369)
OKLCHoklch(60.15% 0.196 315.7)
XYZxyz(31.1694, 19.2625, 60.4567)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52CE #74CE52
analogous
#6E52CE #AC52CE #CE52B2
triadic
#AC52CE #CEAC52 #52CEAC
tetradic
#AC52CE #CE6E52 #74CE52 #52B2CE
square
#AC52CE #CE6E52 #74CE52 #52B2CE
split-complementary
#AC52CE #B2CE52 #52CE6E
monochromatic
#682581 #8E32B1 #AC52CE #C382DC #DAB1E9

Accessibility & contrast

On white

4.33
#AC52CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AC52CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52CE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52CE#FFFFFF#000000##000000
##AC52CE1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C74D2
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#AA6888
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac52ce;
/* rgb */ color: rgb(172, 82, 206);
/* oklch */ color: oklch(60.2% 0.196 315.7);
Tailwind
colors: {
  custom: {
    50: '#c887dd',
    500: '#ac52ce',
    950: '#000000',
  },
}
SCSS
$custom: #ac52ce;
$custom-light: #c887dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52ce",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 283.548,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60151,
    "c": 0.19585,
    "h": 315.7
  },
  "luminance": 0.19261
}

Semantic roles & 50–950 ramp

primary
#AC52CE
secondary
#B2D7A4
accent
#DF4972
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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