#AC5AF0#AC5AF0

#AC5AF0 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.3% C 0.220 H 306.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AC5AF0
RGBrgb(172, 90, 240)
HSLhsl(273, 83%, 65%)
HSVhsv(273, 63%, 94%)
CMYKcmyk(28.3%, 62.5%, 0%, 5.9%)
CIE-LABlab(54.42, 59.53, -62.61)
CIE-LCHlch(54.42, 86.40, 313.56°)
OKLaboklab(63.29% 0.1299 -0.1771)
OKLCHoklch(63.29% 0.22 306.2)
XYZxyz(36.3942, 22.3746, 84.8226)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5AF0 #9EF05A
analogous
#615AF0 #AC5AF0 #F05AE9
triadic
#AC5AF0 #F0AC5A #5AF0AC
tetradic
#AC5AF0 #F0615A #9EF05A #5AE9F0
square
#AC5AF0 #F0615A #9EF05A #5AE9F0
split-complementary
#AC5AF0 #E9F05A #5AF061
monochromatic
#7011BE #9022EB #AC5AF0 #C892F5 #E4CAFA

Accessibility & contrast

On white

3.84
#AC5AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#AC5AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5AF0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5AF0#FFFFFF#000000##000000
##AC5AF01.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#3983ED
Tritanopia (blue-blind)
#A1799D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5af0;
/* rgb */ color: rgb(172, 90, 240);
/* oklch */ color: oklch(63.3% 0.220 306.2);
Tailwind
colors: {
  custom: {
    50: '#c98df6',
    500: '#ac5af0',
    950: '#000000',
  },
}
SCSS
$custom: #ac5af0;
$custom-light: #c98df6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5af0",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 240
  },
  "hsl": {
    "h": 272.8,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63286,
    "c": 0.21966,
    "h": 306.2
  },
  "luminance": 0.22374
}

Semantic roles & 50–950 ramp

primary
#AC5AF0
secondary
#D0EDB9
accent
#E00669
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC5AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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