#AC57FF#AC57FF

#AC57FF is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.9% C 0.239 H 303.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AC57FF
RGBrgb(172, 87, 255)
HSLhsl(270, 100%, 67%)
HSVhsv(270, 66%, 100%)
CMYKcmyk(32.5%, 65.9%, 0%, 0%)
CIE-LABlab(54.87, 64.36, -70.22)
CIE-LCHlch(54.87, 95.25, 312.50°)
OKLaboklab(63.92% 0.1319 -0.1995)
OKLCHoklch(63.92% 0.239 303.5)
XYZxyz(38.4673, 22.8071, 96.9640)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57FF #AAFF57
analogous
#5857FF #AC57FF #FF57FE
triadic
#AC57FF #FFAC57 #57FFAC
tetradic
#AC57FF #FF5857 #AAFF57 #57FEFF
square
#AC57FF #FF5857 #AAFF57 #57FEFF
split-complementary
#AC57FF #FEFF57 #57FF58
monochromatic
#6F00DC #8E1AFF #AC57FF #CA94FF #E8D1FF

Accessibility & contrast

On white

3.78
#AC57FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AC57FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57FF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57FF#FFFFFF#000000##000000
##AC57FF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#1183FB
Tritanopia (blue-blind)
#9C7DA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ac57ff;
/* rgb */ color: rgb(172, 87, 255);
/* oklch */ color: oklch(63.9% 0.239 303.5);
Tailwind
colors: {
  custom: {
    50: '#ca8cff',
    500: '#ac57ff',
    950: '#000000',
  },
}
SCSS
$custom: #ac57ff;
$custom-light: #ca8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57ff",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 255
  },
  "hsl": {
    "h": 270.357,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63918,
    "c": 0.23918,
    "h": 303.5
  },
  "luminance": 0.22807
}

Semantic roles & 50–950 ramp

primary
#AC57FF
secondary
#D9F4BE
accent
#E60071
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #AC57FF

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

Preview Lab → · Contrast checker → · Palette generator →

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