#AC52A2#AC52A2

#AC52A2 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.8% C 0.154 H 331.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AC52A2
RGBrgb(172, 82, 162)
HSLhsl(307, 35%, 50%)
HSVhsv(307, 52%, 67%)
CMYKcmyk(0%, 52.3%, 5.8%, 32.5%)
CIE-LABlab(48.78, 47.63, -26.78)
CIE-LCHlch(48.78, 54.65, 330.65°)
OKLaboklab(57.81% 0.1358 -0.073)
OKLCHoklch(57.81% 0.154 331.7)
XYZxyz(26.5520, 17.4156, 36.1384)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52A2 #52AC5C
analogous
#8952AC #AC52A2 #AC5275
triadic
#AC52A2 #A2AC52 #52A2AC
tetradic
#AC52A2 #AC8952 #52AC5C #5275AC
square
#AC52A2 #AC8952 #52AC5C #5275AC
split-complementary
#AC52A2 #75AC52 #52AC89
monochromatic
#592A54 #833E7B #AC52A2 #C07BB8 #D4A5CF

Accessibility & contrast

On white

4.68
#AC52A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AC52A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC52A2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52A2#FFFFFF#000000##FFFFFF
##AC52A21.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA5
Deuteranopia (green-blind)
#69789F
Tritanopia (blue-blind)
#B25973
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ac52a2;
/* rgb */ color: rgb(172, 82, 162);
/* oklch */ color: oklch(57.8% 0.154 331.7);
Tailwind
colors: {
  custom: {
    50: '#c786bd',
    500: '#ac52a2',
    950: '#000000',
  },
}
SCSS
$custom: #ac52a2;
$custom-light: #c786bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52a2",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 306.667,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.15415,
    "h": 331.7
  },
  "luminance": 0.17414
}

Semantic roles & 50–950 ramp

primary
#AC52A2
secondary
#99C19D
accent
#CB695C
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AC52A2

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

Preview Lab → · Contrast checker → · Palette generator →

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