#AC52D2#AC52D2

#AC52D2 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.4% C 0.200 H 314.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AC52D2
RGBrgb(172, 82, 210)
HSLhsl(282, 59%, 57%)
HSVhsv(282, 61%, 82%)
CMYKcmyk(18.1%, 61%, 0%, 17.6%)
CIE-LABlab(51.22, 56.86, -50.80)
CIE-LCHlch(51.22, 76.25, 318.22°)
OKLaboklab(60.39% 0.1401 -0.1425)
OKLCHoklch(60.39% 0.2 314.5)
XYZxyz(31.6615, 19.4594, 63.0485)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52D2 #78D252
analogous
#6C52D2 #AC52D2 #D252B8
triadic
#AC52D2 #D2AC52 #52D2AC
tetradic
#AC52D2 #D26C52 #78D252 #52B8D2
square
#AC52D2 #D26C52 #78D252 #52B8D2
split-complementary
#AC52D2 #B8D252 #52D26C
monochromatic
#692387 #8F30B7 #AC52D2 #C383DF #DBB3EB

Accessibility & contrast

On white

4.29
#AC52D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#AC52D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52D2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52D2#FFFFFF#000000##000000
##AC52D21.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2675D6
Deuteranopia (green-blind)
#4F7CCF
Tritanopia (blue-blind)
#A9698A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac52d2;
/* rgb */ color: rgb(172, 82, 210);
/* oklch */ color: oklch(60.4% 0.200 314.5);
Tailwind
colors: {
  custom: {
    50: '#c888e0',
    500: '#ac52d2',
    950: '#000000',
  },
}
SCSS
$custom: #ac52d2;
$custom-light: #c888e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52d2",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 282.188,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6039,
    "c": 0.19984,
    "h": 314.5
  },
  "luminance": 0.19458
}

Semantic roles & 50–950 ramp

primary
#AC52D2
secondary
#B5DAA6
accent
#E24674
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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