#AC57E9#AC57E9

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

Color values

HEX#AC57E9
RGBrgb(172, 87, 233)
HSLhsl(275, 77%, 63%)
HSVhsv(275, 63%, 91%)
CMYKcmyk(26.2%, 62.7%, 0%, 8.6%)
CIE-LABlab(53.46, 59.41, -60.23)
CIE-LCHlch(53.46, 84.61, 314.61°)
OKLaboklab(62.45% 0.1337 -0.1702)
OKLCHoklch(62.45% 0.216 308.1)
XYZxyz(35.1264, 21.4708, 79.3688)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57E9 #94E957
analogous
#6357E9 #AC57E9 #E957DD
triadic
#AC57E9 #E9AC57 #57E9AC
tetradic
#AC57E9 #E96357 #94E957 #57DDE9
square
#AC57E9 #E96357 #94E957 #57DDE9
split-complementary
#AC57E9 #DDE957 #57E963
monochromatic
#6F17AF #9121E2 #AC57E9 #C78DF0 #E1C3F7

Accessibility & contrast

On white

3.97
#AC57E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#AC57E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57E9
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57E9#FFFFFF#000000##000000
##AC57E91.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#3E81E6
Tritanopia (blue-blind)
#A37598
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ac57e9;
/* rgb */ color: rgb(172, 87, 233);
/* oklch */ color: oklch(62.5% 0.216 308.1);
Tailwind
colors: {
  custom: {
    50: '#c98bf1',
    500: '#ac57e9',
    950: '#000000',
  },
}
SCSS
$custom: #ac57e9;
$custom-light: #c98bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57e9",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 274.932,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62452,
    "c": 0.21639,
    "h": 308.1
  },
  "luminance": 0.2147
}

Semantic roles & 50–950 ramp

primary
#AC57E9
secondary
#CAE8B3
accent
#D90C62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC57E9

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

Preview Lab → · Contrast checker → · Palette generator →

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