#AC52C8#AC52C8

#AC52C8 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.8% C 0.190 H 317.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AC52C8
RGBrgb(172, 82, 200)
HSLhsl(286, 52%, 55%)
HSVhsv(286, 59%, 78%)
CMYKcmyk(14%, 59%, 0%, 21.6%)
CIE-LABlab(50.66, 54.82, -45.97)
CIE-LCHlch(50.66, 71.54, 320.02°)
OKLaboklab(59.8% 0.1399 -0.1284)
OKLCHoklch(59.8% 0.19 317.5)
XYZxyz(30.4544, 18.9765, 56.6910)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52C8 #6EC852
analogous
#7152C8 #AC52C8 #C852A9
triadic
#AC52C8 #C8AC52 #52C8AC
tetradic
#AC52C8 #C87152 #6EC852 #52A9C8
square
#AC52C8 #C87152 #6EC852 #52A9C8
split-complementary
#AC52C8 #A9C852 #52C871
monochromatic
#652779 #8C35A8 #AC52C8 #C280D7 #D9AFE6

Accessibility & contrast

On white

4.38
#AC52C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AC52C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52C8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52C8#FFFFFF#000000##000000
##AC52C81.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3373CC
Deuteranopia (green-blind)
#567BC5
Tritanopia (blue-blind)
#AB6585
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac52c8;
/* rgb */ color: rgb(172, 82, 200);
/* oklch */ color: oklch(59.8% 0.190 317.5);
Tailwind
colors: {
  custom: {
    50: '#c887d9',
    500: '#ac52c8',
    950: '#000000',
  },
}
SCSS
$custom: #ac52c8;
$custom-light: #c887d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52c8",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 285.763,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59801,
    "c": 0.18988,
    "h": 317.5
  },
  "luminance": 0.18975
}

Semantic roles & 50–950 ramp

primary
#AC52C8
secondary
#AED4A2
accent
#DB4D6E
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC52C8

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

Preview Lab → · Contrast checker → · Palette generator →

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