#AC57E4#AC57E4

#AC57E4 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.1% C 0.211 H 309.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AC57E4
RGBrgb(172, 87, 228)
HSLhsl(276, 72%, 62%)
HSVhsv(276, 62%, 89%)
CMYKcmyk(24.6%, 61.8%, 0%, 10.6%)
CIE-LABlab(53.16, 58.31, -57.91)
CIE-LCHlch(53.16, 82.19, 315.20°)
OKLaboklab(62.13% 0.1339 -0.1633)
OKLCHoklch(62.13% 0.211 309.3)
XYZxyz(34.4223, 21.1891, 75.6603)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57E4 #8FE457
analogous
#6657E4 #AC57E4 #E457D6
triadic
#AC57E4 #E4AC57 #57E4AC
tetradic
#AC57E4 #E46657 #8FE457 #57D6E4
square
#AC57E4 #E46657 #8FE457 #57D6E4
split-complementary
#AC57E4 #D6E457 #57E466
monochromatic
#6F1BA6 #9223DB #AC57E4 #C68CEC #E0C0F5

Accessibility & contrast

On white

4.01
#AC57E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#AC57E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57E4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57E4#FFFFFF#000000##000000
##AC57E41.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7BE8
Deuteranopia (green-blind)
#4380E1
Tritanopia (blue-blind)
#A47396
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac57e4;
/* rgb */ color: rgb(172, 87, 228);
/* oklch */ color: oklch(62.1% 0.211 309.3);
Tailwind
colors: {
  custom: {
    50: '#c88bed',
    500: '#ac57e4',
    950: '#000000',
  },
}
SCSS
$custom: #ac57e4;
$custom-light: #c88bed;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57e4",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 276.17,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62134,
    "c": 0.21119,
    "h": 309.3
  },
  "luminance": 0.21188
}

Semantic roles & 50–950 ramp

primary
#AC57E4
secondary
#C6E6B1
accent
#D4115F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AC57E4

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

Preview Lab → · Contrast checker → · Palette generator →

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