#AC57BF#AC57BF

#AC57BF is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.0% C 0.173 H 320.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AC57BF
RGBrgb(172, 87, 191)
HSLhsl(289, 45%, 55%)
HSVhsv(289, 54%, 75%)
CMYKcmyk(9.9%, 54.5%, 0%, 25.1%)
CIE-LABlab(51.09, 50.57, -40.09)
CIE-LCHlch(51.09, 64.53, 321.59°)
OKLaboklab(59.97% 0.1328 -0.1113)
OKLCHoklch(59.97% 0.173 320)
XYZxyz(29.8243, 19.3499, 51.4440)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57BF #6ABF57
analogous
#7857BF #AC57BF #BF579E
triadic
#AC57BF #BFAC57 #57BFAC
tetradic
#AC57BF #BF7857 #6ABF57 #579EBF
square
#AC57BF #BF7857 #6ABF57 #579EBF
split-complementary
#AC57BF #9EBF57 #57BF78
monochromatic
#642B71 #8B3C9D #AC57BF #C283D0 #D8B0E1

Accessibility & contrast

On white

4.31
#AC57BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#AC57BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57BF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57BF#FFFFFF#000000##000000
##AC57BF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#5F7DBC
Tritanopia (blue-blind)
#AD6683
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ac57bf;
/* rgb */ color: rgb(172, 87, 191);
/* oklch */ color: oklch(60.0% 0.173 320.0);
Tailwind
colors: {
  custom: {
    50: '#c78ad3',
    500: '#ac57bf',
    950: '#000000',
  },
}
SCSS
$custom: #ac57bf;
$custom-light: #c78ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57bf",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 289.038,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59965,
    "c": 0.1733,
    "h": 320
  },
  "luminance": 0.19349
}

Semantic roles & 50–950 ramp

primary
#AC57BF
secondary
#ABCFA3
accent
#D5536B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AC57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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