#AC52CD#AC52CD

#AC52CD is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.1% C 0.195 H 316.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AC52CD
RGBrgb(172, 82, 205)
HSLhsl(284, 55%, 56%)
HSVhsv(284, 60%, 80%)
CMYKcmyk(16.1%, 60%, 0%, 19.6%)
CIE-LABlab(50.94, 55.83, -48.40)
CIE-LCHlch(50.94, 73.89, 319.08°)
OKLaboklab(60.09% 0.1401 -0.1355)
OKLCHoklch(60.09% 0.195 316)
XYZxyz(31.0483, 19.2141, 59.8189)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52CD #73CD52
analogous
#6F52CD #AC52CD #CD52B1
triadic
#AC52CD #CDAC52 #52CDAC
tetradic
#AC52CD #CD6F52 #73CD52 #52B1CD
square
#AC52CD #CD6F52 #73CD52 #52B1CD
split-complementary
#AC52CD #B1CD52 #52CD6F
monochromatic
#672580 #8E33AF #AC52CD #C381DB #DAB1E8

Accessibility & contrast

On white

4.34
#AC52CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AC52CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52CD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52CD#FFFFFF#000000##000000
##AC52CD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#527CCA
Tritanopia (blue-blind)
#AA6788
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac52cd;
/* rgb */ color: rgb(172, 82, 205);
/* oklch */ color: oklch(60.1% 0.195 316.0);
Tailwind
colors: {
  custom: {
    50: '#c887dd',
    500: '#ac52cd',
    950: '#000000',
  },
}
SCSS
$custom: #ac52cd;
$custom-light: #c887dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52cd",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 283.902,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60092,
    "c": 0.19485,
    "h": 316
  },
  "luminance": 0.19213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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