#AC57ED#AC57ED

#AC57ED is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.7% C 0.221 H 307.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AC57ED
RGBrgb(172, 87, 237)
HSLhsl(274, 81%, 64%)
HSVhsv(274, 63%, 93%)
CMYKcmyk(27.4%, 63.3%, 0%, 7.1%)
CIE-LABlab(53.71, 60.30, -62.08)
CIE-LCHlch(53.71, 86.54, 314.17°)
OKLaboklab(62.71% 0.1334 -0.1756)
OKLCHoklch(62.71% 0.221 307.2)
XYZxyz(35.7043, 21.7019, 82.4123)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57ED #98ED57
analogous
#6157ED #AC57ED #ED57E3
triadic
#AC57ED #EDAC57 #57EDAC
tetradic
#AC57ED #ED6157 #98ED57 #57E3ED
square
#AC57ED #ED6157 #98ED57 #57E3ED
split-complementary
#AC57ED #E3ED57 #57ED61
monochromatic
#7014B6 #9120E7 #AC57ED #C78EF3 #E3C6F9

Accessibility & contrast

On white

3.93
#AC57ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AC57ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57ED
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57ED#FFFFFF#000000##000000
##AC57ED1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#3981EA
Tritanopia (blue-blind)
#A2769A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ac57ed;
/* rgb */ color: rgb(172, 87, 237);
/* oklch */ color: oklch(62.7% 0.221 307.2);
Tailwind
colors: {
  custom: {
    50: '#c98bf4',
    500: '#ac57ed',
    950: '#000000',
  },
}
SCSS
$custom: #ac57ed;
$custom-light: #c98bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57ed",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 274,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62711,
    "c": 0.22053,
    "h": 307.2
  },
  "luminance": 0.21701
}

Semantic roles & 50–950 ramp

primary
#AC57ED
secondary
#CCEAB5
accent
#DD0965
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC57ED

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

Preview Lab → · Contrast checker → · Palette generator →

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