#AC57DF#AC57DF

#AC57DF is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.206 H 310.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AC57DF
RGBrgb(172, 87, 223)
HSLhsl(278, 68%, 61%)
HSVhsv(278, 61%, 87%)
CMYKcmyk(22.9%, 61%, 0%, 12.5%)
CIE-LABlab(52.86, 57.23, -55.57)
CIE-LCHlch(52.86, 79.77, 315.84°)
OKLaboklab(61.82% 0.134 -0.1565)
OKLCHoklch(61.82% 0.206 310.6)
XYZxyz(33.7382, 20.9155, 72.0575)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57DF #8ADF57
analogous
#6857DF #AC57DF #DF57CE
triadic
#AC57DF #DFAC57 #57DFAC
tetradic
#AC57DF #DF6857 #8ADF57 #57CEDF
square
#AC57DF #DF6857 #8ADF57 #57CEDF
split-complementary
#AC57DF #CEDF57 #57DF68
monochromatic
#6E1E9E #9228D1 #AC57DF #C58AE9 #DFBEF3

Accessibility & contrast

On white

4.05
#AC57DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AC57DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57DF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57DF#FFFFFF#000000##000000
##AC57DF1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7AE3
Deuteranopia (green-blind)
#4880DC
Tritanopia (blue-blind)
#A57193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac57df;
/* rgb */ color: rgb(172, 87, 223);
/* oklch */ color: oklch(61.8% 0.206 310.6);
Tailwind
colors: {
  custom: {
    50: '#c88bea',
    500: '#ac57df',
    950: '#000000',
  },
}
SCSS
$custom: #ac57df;
$custom-light: #c88bea;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57df",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 277.5,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61821,
    "c": 0.20601,
    "h": 310.6
  },
  "luminance": 0.20915
}

Semantic roles & 50–950 ramp

primary
#AC57DF
secondary
#C2E3AF
accent
#D0165B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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