#AC5AD9#AC5AD9

#AC5AD9 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.9% C 0.195 H 311.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AC5AD9
RGBrgb(172, 90, 217)
HSLhsl(279, 63%, 60%)
HSVhsv(279, 59%, 85%)
CMYKcmyk(20.7%, 58.5%, 0%, 14.9%)
CIE-LABlab(53.05, 54.46, -51.86)
CIE-LCHlch(53.05, 75.21, 316.40°)
OKLaboklab(61.85% 0.1303 -0.1456)
OKLCHoklch(61.85% 0.195 311.8)
XYZxyz(33.1916, 21.0935, 67.9552)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5AD9 #87D95A
analogous
#6C5AD9 #AC5AD9 #D95AC7
triadic
#AC5AD9 #D9AC5A #5AD9AC
tetradic
#AC5AD9 #D96C5A #87D95A #5AC7D9
square
#AC5AD9 #D96C5A #87D95A #5AC7D9
split-complementary
#AC5AD9 #C7D95A #5AD96C
monochromatic
#6D2396 #912EC8 #AC5AD9 #C58CE4 #DEBDF0

Accessibility & contrast

On white

4.02
#AC5AD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AC5AD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5AD9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5AD9#FFFFFF#000000##000000
##AC5AD91.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7BDD
Deuteranopia (green-blind)
#5180D6
Tritanopia (blue-blind)
#A77191
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac5ad9;
/* rgb */ color: rgb(172, 90, 217);
/* oklch */ color: oklch(61.9% 0.195 311.8);
Tailwind
colors: {
  custom: {
    50: '#c88ce5',
    500: '#ac5ad9',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ad9;
$custom-light: #c88ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ad9",
  "rgb": {
    "r": 172,
    "g": 90,
    "b": 217
  },
  "hsl": {
    "h": 278.74,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61851,
    "c": 0.19544,
    "h": 311.8
  },
  "luminance": 0.21093
}

Semantic roles & 50–950 ramp

primary
#AC5AD9
secondary
#C0E0AF
accent
#CA1B59
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AC5AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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