#AC52D5#AC52D5

#AC52D5 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.6% C 0.203 H 313.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AC52D5
RGBrgb(172, 82, 213)
HSLhsl(281, 61%, 58%)
HSVhsv(281, 62%, 84%)
CMYKcmyk(19.2%, 61.5%, 0%, 16.5%)
CIE-LABlab(51.39, 57.49, -52.24)
CIE-LCHlch(51.39, 77.67, 317.74°)
OKLaboklab(60.57% 0.1401 -0.1467)
OKLCHoklch(60.57% 0.203 313.7)
XYZxyz(32.0388, 19.6103, 65.0353)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52D5 #7BD552
analogous
#6A52D5 #AC52D5 #D552BD
triadic
#AC52D5 #D5AC52 #52D5AC
tetradic
#AC52D5 #D56A52 #7BD552 #52BDD5
square
#AC52D5 #D56A52 #7BD552 #52BDD5
split-complementary
#AC52D5 #BDD552 #52D56A
monochromatic
#6A228B #902EBC #AC52D5 #C483E1 #DBB4ED

Accessibility & contrast

On white

4.27
#AC52D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AC52D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52D5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52D5#FFFFFF#000000##000000
##AC52D51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2176D9
Deuteranopia (green-blind)
#4C7DD2
Tritanopia (blue-blind)
#A86A8C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac52d5;
/* rgb */ color: rgb(172, 82, 213);
/* oklch */ color: oklch(60.6% 0.203 313.7);
Tailwind
colors: {
  custom: {
    50: '#c888e2',
    500: '#ac52d5',
    950: '#000000',
  },
}
SCSS
$custom: #ac52d5;
$custom-light: #c888e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52d5",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 281.221,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60571,
    "c": 0.20285,
    "h": 313.7
  },
  "luminance": 0.19609
}

Semantic roles & 50–950 ramp

primary
#AC52D5
secondary
#B8DCA7
accent
#E44476
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC52D5

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

Preview Lab → · Contrast checker → · Palette generator →

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