#AC52CF#AC52CF

#AC52CF is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.2% C 0.197 H 315.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AC52CF
RGBrgb(172, 82, 207)
HSLhsl(283, 57%, 57%)
HSVhsv(283, 60%, 81%)
CMYKcmyk(16.9%, 60.4%, 0%, 18.8%)
CIE-LABlab(51.05, 56.24, -49.36)
CIE-LCHlch(51.05, 74.83, 318.73°)
OKLaboklab(60.21% 0.1401 -0.1383)
OKLCHoklch(60.21% 0.197 315.4)
XYZxyz(31.2913, 19.3113, 61.0985)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC52CF #75CF52
analogous
#6E52CF #AC52CF #CF52B4
triadic
#AC52CF #CFAC52 #52CFAC
tetradic
#AC52CF #CF6E52 #75CF52 #52B4CF
square
#AC52CF #CF6E52 #75CF52 #52B4CF
split-complementary
#AC52CF #B4CF52 #52CF6E
monochromatic
#682482 #8E31B2 #AC52CF #C382DC #DAB2EA

Accessibility & contrast

On white

4.32
#AC52CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AC52CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC52CF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC52CF#FFFFFF#000000##000000
##AC52CF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#517CCC
Tritanopia (blue-blind)
#AA6889
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac52cf;
/* rgb */ color: rgb(172, 82, 207);
/* oklch */ color: oklch(60.2% 0.197 315.4);
Tailwind
colors: {
  custom: {
    50: '#c887de',
    500: '#ac52cf',
    950: '#000000',
  },
}
SCSS
$custom: #ac52cf;
$custom-light: #c887de;
$custom-dark: #000000;
JSON
{
  "hex": "#ac52cf",
  "rgb": {
    "r": 172,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 283.2,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6021,
    "c": 0.19684,
    "h": 315.4
  },
  "luminance": 0.1931
}

Semantic roles & 50–950 ramp

primary
#AC52CF
secondary
#B3D8A5
accent
#E04872
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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