#AC57CA#AC57CA

#AC57CA is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.6% C 0.184 H 316.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AC57CA
RGBrgb(172, 87, 202)
HSLhsl(284, 52%, 57%)
HSVhsv(284, 57%, 79%)
CMYKcmyk(14.9%, 56.9%, 0%, 20.8%)
CIE-LABlab(51.67, 52.79, -45.51)
CIE-LCHlch(51.67, 69.70, 319.24°)
OKLaboklab(60.57% 0.1336 -0.1271)
OKLCHoklch(60.57% 0.184 316.4)
XYZxyz(31.0805, 19.8524, 58.0603)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57CA #75CA57
analogous
#7357CA #AC57CA #CA57AF
triadic
#AC57CA #CAAC57 #57CAAC
tetradic
#AC57CA #CA7357 #75CA57 #57AFCA
square
#AC57CA #CA7357 #75CA57 #57AFCA
split-complementary
#AC57CA #AFCA57 #57CA73
monochromatic
#68287F #8E37AD #AC57CA #C386D9 #DAB4E7

Accessibility & contrast

On white

4.23
#AC57CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AC57CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57CA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57CA#FFFFFF#000000##000000
##AC57CA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CE
Deuteranopia (green-blind)
#597EC7
Tritanopia (blue-blind)
#AB6A88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac57ca;
/* rgb */ color: rgb(172, 87, 202);
/* oklch */ color: oklch(60.6% 0.184 316.4);
Tailwind
colors: {
  custom: {
    50: '#c78ada',
    500: '#ac57ca',
    950: '#000000',
  },
}
SCSS
$custom: #ac57ca;
$custom-light: #c78ada;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57ca",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 284.348,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60574,
    "c": 0.1844,
    "h": 316.4
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#AC57CA
secondary
#B3D6A7
accent
#DB4C72
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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