#AC52D4#AC52D4

#AC52D4 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.5% C 0.202 H 314.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AC52D4
RGBrgb(172, 82, 212)
HSLhsl(282, 60%, 58%)
HSVhsv(282, 61%, 83%)
CMYKcmyk(18.9%, 61.3%, 0%, 16.9%)
CIE-LABlab(51.34, 57.28, -51.76)
CIE-LCHlch(51.34, 77.20, 317.90°)
OKLaboklab(60.51% 0.1401 -0.1453)
OKLCHoklch(60.51% 0.202 314)
XYZxyz(31.9122, 19.5597, 64.3689)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52D4 #7AD452
analogous
#6B52D4 #AC52D4 #D452BB
triadic
#AC52D4 #D4AC52 #52D4AC
tetradic
#AC52D4 #D46B52 #7AD452 #52BBD4
square
#AC52D4 #D46B52 #7AD452 #52BBD4
split-complementary
#AC52D4 #BBD452 #52D46B
monochromatic
#6A2289 #8F2EBA #AC52D4 #C483E0 #DBB4EC

Accessibility & contrast

On white

4.28
#AC52D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AC52D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52D4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52D4#FFFFFF#000000##000000
##AC52D41.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2375D8
Deuteranopia (green-blind)
#4D7DD1
Tritanopia (blue-blind)
#A86A8C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac52d4;
/* rgb */ color: rgb(172, 82, 212);
/* oklch */ color: oklch(60.5% 0.202 314.0);
Tailwind
colors: {
  custom: {
    50: '#c888e2',
    500: '#ac52d4',
    950: '#000000',
  },
}
SCSS
$custom: #ac52d4;
$custom-light: #c888e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52d4",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 281.538,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6051,
    "c": 0.20184,
    "h": 314
  },
  "luminance": 0.19559
}

Semantic roles & 50–950 ramp

primary
#AC52D4
secondary
#B7DBA7
accent
#E34475
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC52D4

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

Preview Lab → · Contrast checker → · Palette generator →

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