#AC57BB#AC57BB

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

Color values

HEX#AC57BB
RGBrgb(172, 87, 187)
HSLhsl(291, 42%, 54%)
HSVhsv(291, 53%, 73%)
CMYKcmyk(8%, 53.5%, 0%, 26.7%)
CIE-LABlab(50.89, 49.78, -38.10)
CIE-LCHlch(50.89, 62.68, 322.57°)
OKLaboklab(59.75% 0.1324 -0.1055)
OKLCHoklch(59.75% 0.169 321.4)
XYZxyz(29.3901, 19.1762, 49.1573)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57BB #66BB57
analogous
#7A57BB #AC57BB #BB5798
triadic
#AC57BB #BBAC57 #57BBAC
tetradic
#AC57BB #BB7A57 #66BB57 #5798BB
square
#AC57BB #BB7A57 #66BB57 #5798BB
split-complementary
#AC57BB #98BB57 #57BB7A
monochromatic
#622C6C #8A3D97 #AC57BB #C283CD #D7AEDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC57BB#FFFFFF#000000##000000
##AC57BB1.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)
#4673BE
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#AE6581
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ac57bb;
/* rgb */ color: rgb(172, 87, 187);
/* oklch */ color: oklch(59.8% 0.169 321.4);
Tailwind
colors: {
  custom: {
    50: '#c78ad0',
    500: '#ac57bb',
    950: '#000000',
  },
}
SCSS
$custom: #ac57bb;
$custom-light: #c78ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57bb",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 291,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59751,
    "c": 0.16933,
    "h": 321.4
  },
  "luminance": 0.19175
}

Semantic roles & 50–950 ramp

primary
#AC57BB
secondary
#A8CCA2
accent
#D25668
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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