#AC52CB#AC52CB

#AC52CB is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.0% C 0.193 H 316.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AC52CB
RGBrgb(172, 82, 203)
HSLhsl(285, 54%, 56%)
HSVhsv(285, 60%, 80%)
CMYKcmyk(15.3%, 59.6%, 0%, 20.4%)
CIE-LABlab(50.83, 55.42, -47.43)
CIE-LCHlch(50.83, 72.95, 319.45°)
OKLaboklab(59.98% 0.14 -0.1326)
OKLCHoklch(59.98% 0.193 316.5)
XYZxyz(30.8084, 19.1182, 58.5556)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52CB #71CB52
analogous
#6F52CB #AC52CB #CB52AD
triadic
#AC52CB #CBAC52 #52CBAC
tetradic
#AC52CB #CB6F52 #71CB52 #52ADCB
square
#AC52CB #CB6F52 #71CB52 #52ADCB
split-complementary
#AC52CB #ADCB52 #52CB6F
monochromatic
#67267D #8D34AC #AC52CB #C381D9 #D9B0E7

Accessibility & contrast

On white

4.35
#AC52CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AC52CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52CB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52CB#FFFFFF#000000##000000
##AC52CB1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3073CF
Deuteranopia (green-blind)
#547CC8
Tritanopia (blue-blind)
#AB6787
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac52cb;
/* rgb */ color: rgb(172, 82, 203);
/* oklch */ color: oklch(60.0% 0.193 316.5);
Tailwind
colors: {
  custom: {
    50: '#c887db',
    500: '#ac52cb',
    950: '#000000',
  },
}
SCSS
$custom: #ac52cb;
$custom-light: #c887db;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52cb",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 284.628,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59975,
    "c": 0.19286,
    "h": 316.5
  },
  "luminance": 0.19117
}

Semantic roles & 50–950 ramp

primary
#AC52CB
secondary
#B0D5A3
accent
#DD4B70
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC52CB

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

Preview Lab → · Contrast checker → · Palette generator →

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