#AC52C7#AC52C7

#AC52C7 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.7% C 0.189 H 317.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AC52C7
RGBrgb(172, 82, 199)
HSLhsl(286, 51%, 55%)
HSVhsv(286, 59%, 78%)
CMYKcmyk(13.6%, 58.8%, 0%, 22%)
CIE-LABlab(50.61, 54.61, -45.48)
CIE-LCHlch(50.61, 71.07, 320.22°)
OKLaboklab(59.74% 0.1399 -0.127)
OKLCHoklch(59.74% 0.189 317.8)
XYZxyz(30.3379, 18.9299, 56.0775)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52C7 #6DC752
analogous
#7252C7 #AC52C7 #C752A7
triadic
#AC52C7 #C7AC52 #52C7AC
tetradic
#AC52C7 #C77252 #6DC752 #52A7C7
square
#AC52C7 #C77252 #6DC752 #52A7C7
split-complementary
#AC52C7 #A7C752 #52C772
monochromatic
#652778 #8C36A6 #AC52C7 #C280D6 #D8AEE5

Accessibility & contrast

On white

4.39
#AC52C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#AC52C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52C7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52C7#FFFFFF#000000##000000
##AC52C71.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3473CB
Deuteranopia (green-blind)
#567BC4
Tritanopia (blue-blind)
#AB6585
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ac52c7;
/* rgb */ color: rgb(172, 82, 199);
/* oklch */ color: oklch(59.7% 0.189 317.8);
Tailwind
colors: {
  custom: {
    50: '#c887d8',
    500: '#ac52c7',
    950: '#000000',
  },
}
SCSS
$custom: #ac52c7;
$custom-light: #c887d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52c7",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 286.154,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59743,
    "c": 0.1889,
    "h": 317.8
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

primary
#AC52C7
secondary
#ADD3A2
accent
#DB4D6E
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AC52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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