#AC57CB#AC57CB

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

Color values

HEX#AC57CB
RGBrgb(172, 87, 203)
HSLhsl(284, 53%, 57%)
HSVhsv(284, 57%, 80%)
CMYKcmyk(15.3%, 57.1%, 0%, 20.4%)
CIE-LABlab(51.72, 53.00, -46.00)
CIE-LCHlch(51.72, 70.17, 319.04°)
OKLaboklab(60.63% 0.1337 -0.1285)
OKLCHoklch(60.63% 0.185 316.1)
XYZxyz(31.1993, 19.8999, 58.6859)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57CB #76CB57
analogous
#7257CB #AC57CB #CB57B0
triadic
#AC57CB #CBAC57 #57CBAC
tetradic
#AC57CB #CB7257 #76CB57 #57B0CB
square
#AC57CB #CB7257 #76CB57 #57B0CB
split-complementary
#AC57CB #B0CB57 #57CB72
monochromatic
#682880 #8E36AF #AC57CB #C386D9 #DAB4E8

Accessibility & contrast

On white

4.22
#AC57CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AC57CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57CB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57CB#FFFFFF#000000##000000
##AC57CB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#AA6A89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac57cb;
/* rgb */ color: rgb(172, 87, 203);
/* oklch */ color: oklch(60.6% 0.185 316.1);
Tailwind
colors: {
  custom: {
    50: '#c78adb',
    500: '#ac57cb',
    950: '#000000',
  },
}
SCSS
$custom: #ac57cb;
$custom-light: #c78adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57cb",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 283.966,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60631,
    "c": 0.18542,
    "h": 316.1
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#AC57CB
secondary
#B4D7A7
accent
#DC4C72
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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