#AC5FD6#AC5FD6

#AC5FD6 is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.4% C 0.185 H 312.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AC5FD6
RGBrgb(172, 95, 214)
HSLhsl(279, 59%, 61%)
HSVhsv(279, 56%, 84%)
CMYKcmyk(19.6%, 55.6%, 0%, 16.1%)
CIE-LABlab(53.83, 51.30, -48.93)
CIE-LCHlch(53.83, 70.89, 316.36°)
OKLaboklab(62.36% 0.1239 -0.1371)
OKLCHoklch(62.36% 0.185 312.1)
XYZxyz(33.2409, 21.8109, 66.0641)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FD6 #89D65F
analogous
#715FD6 #AC5FD6 #D65FC4
triadic
#AC5FD6 #D6AC5F #5FD6AC
tetradic
#AC5FD6 #D6715F #89D65F #5FC4D6
square
#AC5FD6 #D6715F #89D65F #5FC4D6
split-complementary
#AC5FD6 #C4D65F #5FD671
monochromatic
#6E2695 #9133C5 #AC5FD6 #C590E2 #DFC0EF

Accessibility & contrast

On white

3.92
#AC5FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#AC5FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FD6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FD6#FFFFFF#000000##000000
##AC5FD61.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7DDA
Deuteranopia (green-blind)
#5882D3
Tritanopia (blue-blind)
#A77492
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ac5fd6;
/* rgb */ color: rgb(172, 95, 214);
/* oklch */ color: oklch(62.4% 0.185 312.1);
Tailwind
colors: {
  custom: {
    50: '#c78fe3',
    500: '#ac5fd6',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fd6;
$custom-light: #c78fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fd6",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 278.824,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62363,
    "c": 0.18477,
    "h": 312.1
  },
  "luminance": 0.2181
}

Semantic roles & 50–950 ramp

primary
#AC5FD6
secondary
#C2DFB2
accent
#C71F5A
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D15
muted
#827E84

Preview Lab

Preview with #AC5FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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