#AC57BC#AC57BC

#AC57BC is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.8% C 0.170 H 321.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AC57BC
RGBrgb(172, 87, 188)
HSLhsl(290, 43%, 54%)
HSVhsv(290, 54%, 74%)
CMYKcmyk(8.5%, 53.7%, 0%, 26.3%)
CIE-LABlab(50.94, 49.98, -38.60)
CIE-LCHlch(50.94, 63.14, 322.32°)
OKLaboklab(59.8% 0.1325 -0.107)
OKLCHoklch(59.8% 0.17 321.1)
XYZxyz(29.4975, 19.2192, 49.7231)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57BC #67BC57
analogous
#7A57BC #AC57BC #BC579A
triadic
#AC57BC #BCAC57 #57BCAC
tetradic
#AC57BC #BC7A57 #67BC57 #579ABC
square
#AC57BC #BC7A57 #67BC57 #579ABC
split-complementary
#AC57BC #9ABC57 #57BC7A
monochromatic
#632C6D #8A3D99 #AC57BC #C283CD #D7AFDF

Accessibility & contrast

On white

4.34
#AC57BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AC57BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57BC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57BC#FFFFFF#000000##000000
##AC57BC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#617DB9
Tritanopia (blue-blind)
#AE6581
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac57bc;
/* rgb */ color: rgb(172, 87, 188);
/* oklch */ color: oklch(59.8% 0.170 321.1);
Tailwind
colors: {
  custom: {
    50: '#c78ad0',
    500: '#ac57bc',
    950: '#000000',
  },
}
SCSS
$custom: #ac57bc;
$custom-light: #c78ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57bc",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 290.495,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59804,
    "c": 0.17032,
    "h": 321.1
  },
  "luminance": 0.19218
}

Semantic roles & 50–950 ramp

primary
#AC57BC
secondary
#A9CDA2
accent
#D35569
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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