#AC57CE#AC57CE

#AC57CE is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.8% C 0.188 H 315.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AC57CE
RGBrgb(172, 87, 206)
HSLhsl(283, 55%, 57%)
HSVhsv(283, 58%, 81%)
CMYKcmyk(16.5%, 57.8%, 0%, 19.2%)
CIE-LABlab(51.89, 53.62, -47.45)
CIE-LCHlch(51.89, 71.60, 318.49°)
OKLaboklab(60.8% 0.1338 -0.1327)
OKLCHoklch(60.8% 0.188 315.2)
XYZxyz(31.5603, 20.0443, 60.5870)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57CE #79CE57
analogous
#7057CE #AC57CE #CE57B5
triadic
#AC57CE #CEAC57 #57CEAC
tetradic
#AC57CE #CE7057 #79CE57 #57B5CE
square
#AC57CE #CE7057 #79CE57 #57B5CE
split-complementary
#AC57CE #B5CE57 #57CE70
monochromatic
#692784 #8F34B3 #AC57CE #C386DC #DBB6EA

Accessibility & contrast

On white

4.19
#AC57CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#AC57CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57CE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57CE#FFFFFF#000000##000000
##AC57CE1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3677D2
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#AA6B8A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac57ce;
/* rgb */ color: rgb(172, 87, 206);
/* oklch */ color: oklch(60.8% 0.188 315.2);
Tailwind
colors: {
  custom: {
    50: '#c88add',
    500: '#ac57ce',
    950: '#000000',
  },
}
SCSS
$custom: #ac57ce;
$custom-light: #c88add;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57ce",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 282.857,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60803,
    "c": 0.18848,
    "h": 315.2
  },
  "luminance": 0.20043
}

Semantic roles & 50–950 ramp

primary
#AC57CE
secondary
#B6D8A8
accent
#DE4A74
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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