#AC57E8#AC57E8

#AC57E8 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.4% C 0.215 H 308.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AC57E8
RGBrgb(172, 87, 232)
HSLhsl(275, 76%, 63%)
HSVhsv(275, 63%, 91%)
CMYKcmyk(25.9%, 62.5%, 0%, 9%)
CIE-LABlab(53.40, 59.19, -59.77)
CIE-LCHlch(53.40, 84.12, 314.72°)
OKLaboklab(62.39% 0.1337 -0.1688)
OKLCHoklch(62.39% 0.215 308.4)
XYZxyz(34.9840, 21.4138, 78.6186)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57E8 #93E857
analogous
#6357E8 #AC57E8 #E857DC
triadic
#AC57E8 #E8AC57 #57E8AC
tetradic
#AC57E8 #E86357 #93E857 #57DCE8
square
#AC57E8 #E86357 #93E857 #57DCE8
split-complementary
#AC57E8 #DCE857 #57E863
monochromatic
#6F18AD #9121E1 #AC57E8 #C78DEF #E1C3F7

Accessibility & contrast

On white

3.98
#AC57E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#AC57E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57E8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57E8#FFFFFF#000000##000000
##AC57E81.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#3F81E5
Tritanopia (blue-blind)
#A37498
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ac57e8;
/* rgb */ color: rgb(172, 87, 232);
/* oklch */ color: oklch(62.4% 0.215 308.4);
Tailwind
colors: {
  custom: {
    50: '#c98bf0',
    500: '#ac57e8',
    950: '#000000',
  },
}
SCSS
$custom: #ac57e8;
$custom-light: #c98bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57e8",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 275.172,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62388,
    "c": 0.21534,
    "h": 308.4
  },
  "luminance": 0.21413
}

Semantic roles & 50–950 ramp

primary
#AC57E8
secondary
#C9E8B3
accent
#D80D61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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