#AC52C2#AC52C2

#AC52C2 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.5% C 0.184 H 319.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AC52C2
RGBrgb(172, 82, 194)
HSLhsl(288, 48%, 54%)
HSVhsv(288, 58%, 76%)
CMYKcmyk(11.3%, 57.7%, 0%, 23.9%)
CIE-LABlab(50.34, 53.62, -43.02)
CIE-LCHlch(50.34, 68.74, 321.26°)
OKLaboklab(59.46% 0.1396 -0.1198)
OKLCHoklch(59.46% 0.184 319.4)
XYZxyz(29.7669, 18.7015, 53.0703)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52C2 #68C252
analogous
#7452C2 #AC52C2 #C252A0
triadic
#AC52C2 #C2AC52 #52C2AC
tetradic
#AC52C2 #C27452 #68C252 #52A0C2
square
#AC52C2 #C27452 #68C252 #52A0C2
split-complementary
#AC52C2 #A0C252 #52C274
monochromatic
#632872 #8B389F #AC52C2 #C27FD2 #D7ACE2

Accessibility & contrast

On white

4.43
#AC52C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AC52C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52C2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52C2#FFFFFF#000000##000000
##AC52C21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3972C6
Deuteranopia (green-blind)
#5A7BBF
Tritanopia (blue-blind)
#AC6382
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ac52c2;
/* rgb */ color: rgb(172, 82, 194);
/* oklch */ color: oklch(59.5% 0.184 319.4);
Tailwind
colors: {
  custom: {
    50: '#c787d5',
    500: '#ac52c2',
    950: '#000000',
  },
}
SCSS
$custom: #ac52c2;
$custom-light: #c787d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52c2",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 288.214,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5946,
    "c": 0.18398,
    "h": 319.4
  },
  "luminance": 0.187
}

Semantic roles & 50–950 ramp

primary
#AC52C2
secondary
#A9D0A0
accent
#D7506B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AC52C2

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

Preview Lab → · Contrast checker → · Palette generator →

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