#AC57D8#AC57D8

#AC57D8 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.4% C 0.199 H 312.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AC57D8
RGBrgb(172, 87, 216)
HSLhsl(280, 62%, 59%)
HSVhsv(280, 60%, 85%)
CMYKcmyk(20.4%, 59.7%, 0%, 15.3%)
CIE-LABlab(52.45, 55.72, -52.26)
CIE-LCHlch(52.45, 76.39, 316.84°)
OKLaboklab(61.39% 0.134 -0.1468)
OKLCHoklch(61.39% 0.199 312.4)
XYZxyz(32.8139, 20.5457, 67.1896)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57D8 #83D857
analogous
#6C57D8 #AC57D8 #D857C4
triadic
#AC57D8 #D8AC57 #57D8AC
tetradic
#AC57D8 #D86C57 #83D857 #57C4D8
square
#AC57D8 #D86C57 #83D857 #57C4D8
split-complementary
#AC57D8 #C4D857 #57D86C
monochromatic
#6C2293 #912EC4 #AC57D8 #C589E4 #DDBAEF

Accessibility & contrast

On white

4.11
#AC57D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AC57D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57D8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57D8#FFFFFF#000000##000000
##AC57D81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2979DC
Deuteranopia (green-blind)
#4E7FD5
Tritanopia (blue-blind)
#A76F8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac57d8;
/* rgb */ color: rgb(172, 87, 216);
/* oklch */ color: oklch(61.4% 0.199 312.4);
Tailwind
colors: {
  custom: {
    50: '#c88be5',
    500: '#ac57d8',
    950: '#000000',
  },
}
SCSS
$custom: #ac57d8;
$custom-light: #c88be5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57d8",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 279.535,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61393,
    "c": 0.19877,
    "h": 312.4
  },
  "luminance": 0.20545
}

Semantic roles & 50–950 ramp

primary
#AC57D8
secondary
#BDDFAC
accent
#E5427A
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC57D8

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

Preview Lab → · Contrast checker → · Palette generator →

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