#AC5AF1#AC5AF1

#AC5AF1 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.4% C 0.221 H 306.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AC5AF1
RGBrgb(172, 90, 241)
HSLhsl(273, 84%, 65%)
HSVhsv(273, 63%, 95%)
CMYKcmyk(28.6%, 62.7%, 0%, 5.5%)
CIE-LABlab(54.48, 59.76, -63.07)
CIE-LCHlch(54.48, 86.88, 313.46°)
OKLaboklab(63.35% 0.1298 -0.1785)
OKLCHoklch(63.35% 0.221 306)
XYZxyz(36.5432, 22.4342, 85.6071)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5AF1 #9FF15A
analogous
#615AF1 #AC5AF1 #F15AEA
triadic
#AC5AF1 #F1AC5A #5AF1AC
tetradic
#AC5AF1 #F1615A #9FF15A #5AEAF1
square
#AC5AF1 #F1615A #9FF15A #5AEAF1
split-complementary
#AC5AF1 #EAF15A #5AF161
monochromatic
#7010C0 #9022EC #AC5AF1 #C892F6 #E5CBFB

Accessibility & contrast

On white

3.83
#AC5AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AC5AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5AF1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5AF1#FFFFFF#000000##000000
##AC5AF11.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#3883EE
Tritanopia (blue-blind)
#A0799E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5af1;
/* rgb */ color: rgb(172, 90, 241);
/* oklch */ color: oklch(63.4% 0.221 306.0);
Tailwind
colors: {
  custom: {
    50: '#c98df6',
    500: '#ac5af1',
    950: '#000000',
  },
}
SCSS
$custom: #ac5af1;
$custom-light: #c98df6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5af1",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 241
  },
  "hsl": {
    "h": 272.583,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63351,
    "c": 0.22071,
    "h": 306
  },
  "luminance": 0.22434
}

Semantic roles & 50–950 ramp

primary
#AC5AF1
secondary
#D1EDBA
accent
#E10569
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC5AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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