#AC57CC#AC57CC

#AC57CC is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.7% C 0.186 H 315.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AC57CC
RGBrgb(172, 87, 204)
HSLhsl(284, 53%, 57%)
HSVhsv(284, 57%, 80%)
CMYKcmyk(15.7%, 57.4%, 0%, 20%)
CIE-LABlab(51.78, 53.20, -46.48)
CIE-LCHlch(51.78, 70.65, 318.86°)
OKLaboklab(60.69% 0.1337 -0.1299)
OKLCHoklch(60.69% 0.186 315.8)
XYZxyz(31.3189, 19.9477, 59.3156)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57CC #77CC57
analogous
#7257CC #AC57CC #CC57B2
triadic
#AC57CC #CCAC57 #57CCAC
tetradic
#AC57CC #CC7257 #77CC57 #57B2CC
square
#AC57CC #CC7257 #77CC57 #57B2CC
split-complementary
#AC57CC #B2CC57 #57CC72
monochromatic
#692781 #8F36B0 #AC57CC #C386DA #DAB5E9

Accessibility & contrast

On white

4.21
#AC57CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AC57CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57CC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57CC#FFFFFF#000000##000000
##AC57CC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876D0
Deuteranopia (green-blind)
#577EC9
Tritanopia (blue-blind)
#AA6A89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac57cc;
/* rgb */ color: rgb(172, 87, 204);
/* oklch */ color: oklch(60.7% 0.186 315.8);
Tailwind
colors: {
  custom: {
    50: '#c78adc',
    500: '#ac57cc',
    950: '#000000',
  },
}
SCSS
$custom: #ac57cc;
$custom-light: #c78adc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57cc",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 283.59,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.18644,
    "h": 315.8
  },
  "luminance": 0.19947
}

Semantic roles & 50–950 ramp

primary
#AC57CC
secondary
#B5D7A8
accent
#DD4B73
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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