#AC57EA#AC57EA

#AC57EA is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.5% C 0.217 H 307.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AC57EA
RGBrgb(172, 87, 234)
HSLhsl(275, 78%, 63%)
HSVhsv(275, 63%, 92%)
CMYKcmyk(26.5%, 62.8%, 0%, 8.2%)
CIE-LABlab(53.52, 59.63, -60.70)
CIE-LCHlch(53.52, 85.09, 314.49°)
OKLaboklab(62.52% 0.1336 -0.1715)
OKLCHoklch(62.52% 0.217 307.9)
XYZxyz(35.2697, 21.5281, 80.1233)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57EA #95EA57
analogous
#6257EA #AC57EA #EA57DE
triadic
#AC57EA #EAAC57 #57EAAC
tetradic
#AC57EA #EA6257 #95EA57 #57DEEA
square
#AC57EA #EA6257 #95EA57 #57DEEA
split-complementary
#AC57EA #DEEA57 #57EA62
monochromatic
#6F16B1 #9121E3 #AC57EA #C78DF1 #E2C4F8

Accessibility & contrast

On white

3.96
#AC57EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AC57EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57EA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57EA#FFFFFF#000000##000000
##AC57EA1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#3D81E7
Tritanopia (blue-blind)
#A27599
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ac57ea;
/* rgb */ color: rgb(172, 87, 234);
/* oklch */ color: oklch(62.5% 0.217 307.9);
Tailwind
colors: {
  custom: {
    50: '#c98bf1',
    500: '#ac57ea',
    950: '#000000',
  },
}
SCSS
$custom: #ac57ea;
$custom-light: #c98bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57ea",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 274.694,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62517,
    "c": 0.21742,
    "h": 307.9
  },
  "luminance": 0.21528
}

Semantic roles & 50–950 ramp

primary
#AC57EA
secondary
#CAE9B4
accent
#DA0B63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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