#AC57F6#AC57F6

#AC57F6 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.3% C 0.230 H 305.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AC57F6
RGBrgb(172, 87, 246)
HSLhsl(272, 90%, 65%)
HSVhsv(272, 65%, 96%)
CMYKcmyk(30.1%, 64.6%, 0%, 3.5%)
CIE-LABlab(54.28, 62.32, -66.18)
CIE-LCHlch(54.28, 90.90, 313.28°)
OKLaboklab(63.31% 0.1328 -0.1876)
OKLCHoklch(63.31% 0.23 305.3)
XYZxyz(37.0523, 22.2411, 89.5119)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC57F6 #A1F657
analogous
#5C57F6 #AC57F6 #F657F1
triadic
#AC57F6 #F6AC57 #57F6AC
tetradic
#AC57F6 #F65C57 #A1F657 #57F1F6
square
#AC57F6 #F65C57 #A1F657 #57F1F6
split-complementary
#AC57F6 #F1F657 #57F65C
monochromatic
#700BC8 #8F1DF3 #AC57F6 #C991F9 #E5CBFC

Accessibility & contrast

On white

3.85
#AC57F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#AC57F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC57F6
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC57F6#FFFFFF#000000##000000
##AC57F61.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#2A82F3
Tritanopia (blue-blind)
#9F799F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac57f6;
/* rgb */ color: rgb(172, 87, 246);
/* oklch */ color: oklch(63.3% 0.230 305.3);
Tailwind
colors: {
  custom: {
    50: '#ca8bfa',
    500: '#ac57f6',
    950: '#000000',
  },
}
SCSS
$custom: #ac57f6;
$custom-light: #ca8bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ac57f6",
  "rgb": {
    "r": 172,
    "g": 87,
    "b": 246
  },
  "hsl": {
    "h": 272.075,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63306,
    "c": 0.22987,
    "h": 305.3
  },
  "luminance": 0.22241
}

Semantic roles & 50–950 ramp

primary
#AC57F6
secondary
#D3EFBA
accent
#E6006B
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC57F6

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

Preview Lab → · Contrast checker → · Palette generator →

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