#AC57DD#AC57DD

#AC57DD is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.7% C 0.204 H 311.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AC57DD
RGBrgb(172, 87, 221)
HSLhsl(278, 66%, 60%)
HSVhsv(278, 61%, 87%)
CMYKcmyk(22.2%, 60.6%, 0%, 13.3%)
CIE-LABlab(52.74, 56.79, -54.63)
CIE-LCHlch(52.74, 78.80, 316.11°)
OKLaboklab(61.7% 0.134 -0.1537)
OKLCHoklch(61.7% 0.204 311.1)
XYZxyz(33.4702, 20.8082, 70.6458)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57DD #88DD57
analogous
#6957DD #AC57DD #DD57CB
triadic
#AC57DD #DDAC57 #57DDAC
tetradic
#AC57DD #DD6957 #88DD57 #57CBDD
square
#AC57DD #DD6957 #88DD57 #57CBDD
split-complementary
#AC57DD #CBDD57 #57DD69
monochromatic
#6D1F9A #912ACD #AC57DD #C58AE7 #DEBDF2

Accessibility & contrast

On white

4.07
#AC57DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AC57DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57DD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57DD#FFFFFF#000000##000000
##AC57DD1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#217AE1
Deuteranopia (green-blind)
#4A7FDA
Tritanopia (blue-blind)
#A67092
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac57dd;
/* rgb */ color: rgb(172, 87, 221);
/* oklch */ color: oklch(61.7% 0.204 311.1);
Tailwind
colors: {
  custom: {
    50: '#c88be8',
    500: '#ac57dd',
    950: '#000000',
  },
}
SCSS
$custom: #ac57dd;
$custom-light: #c88be8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57dd",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 278.06,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61698,
    "c": 0.20394,
    "h": 311.1
  },
  "luminance": 0.20808
}

Semantic roles & 50–950 ramp

primary
#AC57DD
secondary
#C1E1AE
accent
#CE175A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC57DD

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

Preview Lab → · Contrast checker → · Palette generator →

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