#AC57C8#AC57C8

#AC57C8 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.5% C 0.182 H 317.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AC57C8
RGBrgb(172, 87, 200)
HSLhsl(285, 51%, 56%)
HSVhsv(285, 57%, 78%)
CMYKcmyk(14%, 56.5%, 0%, 21.6%)
CIE-LABlab(51.56, 52.38, -44.53)
CIE-LCHlch(51.56, 68.75, 319.63°)
OKLaboklab(60.46% 0.1335 -0.1242)
OKLCHoklch(60.46% 0.182 317.1)
XYZxyz(30.8453, 19.7583, 56.8213)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57C8 #73C857
analogous
#7457C8 #AC57C8 #C857AC
triadic
#AC57C8 #C8AC57 #57C8AC
tetradic
#AC57C8 #C87457 #73C857 #57ACC8
square
#AC57C8 #C87457 #73C857 #57ACC8
split-complementary
#AC57C8 #ACC857 #57C874
monochromatic
#67297C #8E38AA #AC57C8 #C385D7 #DAB3E6

Accessibility & contrast

On white

4.24
#AC57C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AC57C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57C8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57C8#FFFFFF#000000##000000
##AC57C81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C75CC
Deuteranopia (green-blind)
#5A7EC5
Tritanopia (blue-blind)
#AB6987
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ac57c8;
/* rgb */ color: rgb(172, 87, 200);
/* oklch */ color: oklch(60.5% 0.182 317.1);
Tailwind
colors: {
  custom: {
    50: '#c78ad9',
    500: '#ac57c8',
    950: '#000000',
  },
}
SCSS
$custom: #ac57c8;
$custom-light: #c78ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57c8",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 285.133,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60461,
    "c": 0.18237,
    "h": 317.1
  },
  "luminance": 0.19757
}

Semantic roles & 50–950 ramp

primary
#AC57C8
secondary
#B2D5A6
accent
#DA4E70
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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