#AC57F2#AC57F2

#AC57F2 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.0% C 0.226 H 306.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AC57F2
RGBrgb(172, 87, 242)
HSLhsl(273, 86%, 65%)
HSVhsv(273, 64%, 95%)
CMYKcmyk(28.9%, 64%, 0%, 5.1%)
CIE-LABlab(54.03, 61.42, -64.37)
CIE-LCHlch(54.03, 88.97, 313.66°)
OKLaboklab(63.04% 0.1331 -0.1823)
OKLCHoklch(63.04% 0.226 306.1)
XYZxyz(36.4450, 21.9982, 86.3133)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57F2 #9DF257
analogous
#5F57F2 #AC57F2 #F257EB
triadic
#AC57F2 #F2AC57 #57F2AC
tetradic
#AC57F2 #F25F57 #9DF257 #57EBF2
square
#AC57F2 #F25F57 #9DF257 #57EBF2
split-complementary
#AC57F2 #EBF257 #57F25F
monochromatic
#700FC0 #901EEE #AC57F2 #C890F6 #E4C9FB

Accessibility & contrast

On white

3.89
#AC57F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#AC57F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57F2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57F2#FFFFFF#000000##000000
##AC57F21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#3182EF
Tritanopia (blue-blind)
#A0789D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac57f2;
/* rgb */ color: rgb(172, 87, 242);
/* oklch */ color: oklch(63.0% 0.226 306.1);
Tailwind
colors: {
  custom: {
    50: '#c98bf7',
    500: '#ac57f2',
    950: '#000000',
  },
}
SCSS
$custom: #ac57f2;
$custom-light: #c98bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57f2",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 272.903,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6304,
    "c": 0.22572,
    "h": 306.1
  },
  "luminance": 0.21998
}

Semantic roles & 50–950 ramp

primary
#AC57F2
secondary
#D0EDB8
accent
#E20368
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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