#AC57CD#AC57CD

#AC57CD is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.7% C 0.187 H 315.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AC57CD
RGBrgb(172, 87, 205)
HSLhsl(283, 54%, 57%)
HSVhsv(283, 58%, 80%)
CMYKcmyk(16.1%, 57.6%, 0%, 19.6%)
CIE-LABlab(51.83, 53.41, -46.97)
CIE-LCHlch(51.83, 71.13, 318.67°)
OKLaboklab(60.75% 0.1338 -0.1313)
OKLCHoklch(60.75% 0.187 315.5)
XYZxyz(31.4392, 19.9958, 59.9492)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57CD #78CD57
analogous
#7157CD #AC57CD #CD57B3
triadic
#AC57CD #CDAC57 #57CDAC
tetradic
#AC57CD #CD7157 #78CD57 #57B3CD
square
#AC57CD #CD7157 #78CD57 #57B3CD
split-complementary
#AC57CD #B3CD57 #57CD71
monochromatic
#692783 #8F35B2 #AC57CD #C386DB #DBB5E9

Accessibility & contrast

On white

4.20
#AC57CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AC57CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57CD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57CD#FFFFFF#000000##000000
##AC57CD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776D1
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#AA6B8A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac57cd;
/* rgb */ color: rgb(172, 87, 205);
/* oklch */ color: oklch(60.7% 0.187 315.5);
Tailwind
colors: {
  custom: {
    50: '#c78add',
    500: '#ac57cd',
    950: '#000000',
  },
}
SCSS
$custom: #ac57cd;
$custom-light: #c78add;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57cd",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 283.22,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60745,
    "c": 0.18746,
    "h": 315.5
  },
  "luminance": 0.19995
}

Semantic roles & 50–950 ramp

primary
#AC57CD
secondary
#B5D8A8
accent
#DD4A73
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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