#AC57CF#AC57CF

#AC57CF is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.9% C 0.190 H 314.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AC57CF
RGBrgb(172, 87, 207)
HSLhsl(283, 56%, 58%)
HSVhsv(283, 58%, 81%)
CMYKcmyk(16.9%, 58%, 0%, 18.8%)
CIE-LABlab(51.94, 53.83, -47.94)
CIE-LCHlch(51.94, 72.08, 318.31°)
OKLaboklab(60.86% 0.1338 -0.1342)
OKLCHoklch(60.86% 0.19 314.9)
XYZxyz(31.6821, 20.0930, 61.2288)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57CF #7ACF57
analogous
#7057CF #AC57CF #CF57B6
triadic
#AC57CF #CFAC57 #57CFAC
tetradic
#AC57CF #CF7057 #7ACF57 #57B6CF
square
#AC57CF #CF7057 #7ACF57 #57B6CF
split-complementary
#AC57CF #B6CF57 #57CF70
monochromatic
#6A2685 #8F34B5 #AC57CF #C487DD #DBB6EA

Accessibility & contrast

On white

4.18
#AC57CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#AC57CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57CF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57CF#FFFFFF#000000##000000
##AC57CF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3577D3
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#A96B8B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ac57cf;
/* rgb */ color: rgb(172, 87, 207);
/* oklch */ color: oklch(60.9% 0.190 314.9);
Tailwind
colors: {
  custom: {
    50: '#c88ade',
    500: '#ac57cf',
    950: '#000000',
  },
}
SCSS
$custom: #ac57cf;
$custom-light: #c88ade;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57cf",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 282.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60861,
    "c": 0.1895,
    "h": 314.9
  },
  "luminance": 0.20092
}

Semantic roles & 50–950 ramp

primary
#AC57CF
secondary
#B7D9A9
accent
#DF4975
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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