#AC5DC4#AC5DC4

#AC5DC4 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.1% C 0.169 H 317.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AC5DC4
RGBrgb(172, 93, 196)
HSLhsl(286, 47%, 57%)
HSVhsv(286, 53%, 77%)
CMYKcmyk(12.2%, 52.6%, 0%, 23.1%)
CIE-LABlab(52.49, 48.54, -40.76)
CIE-LCHlch(52.49, 63.38, 319.97°)
OKLaboklab(61.08% 0.1252 -0.1133)
OKLCHoklch(61.08% 0.169 317.8)
XYZxyz(30.8900, 20.5860, 54.5602)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5DC4 #75C45D
analogous
#795DC4 #AC5DC4 #C45DA9
triadic
#AC5DC4 #C4AC5D #5DC4AC
tetradic
#AC5DC4 #C4795D #75C45D #5DA9C4
square
#AC5DC4 #C4795D #75C45D #5DA9C4
split-complementary
#AC5DC4 #A9C45D #5DC479
monochromatic
#682C7A #8E3DA7 #AC5DC4 #C38AD4 #DAB7E5

Accessibility & contrast

On white

4.10
#AC5DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#AC5DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5DC4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5DC4#FFFFFF#000000##000000
##AC5DC41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4878C7
Deuteranopia (green-blind)
#6180C1
Tritanopia (blue-blind)
#AC6C88
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac5dc4;
/* rgb */ color: rgb(172, 93, 196);
/* oklch */ color: oklch(61.1% 0.169 317.8);
Tailwind
colors: {
  custom: {
    50: '#c78ed6',
    500: '#ac5dc4',
    950: '#000000',
  },
}
SCSS
$custom: #ac5dc4;
$custom-light: #c78ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5dc4",
  "rgb": {
    "r": 172,
    "g": 93,
    "b": 196
  },
  "hsl": {
    "h": 286.019,
    "s": 46.606,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61077,
    "c": 0.16885,
    "h": 317.8
  },
  "luminance": 0.20585
}

Semantic roles & 50–950 ramp

primary
#AC5DC4
secondary
#B3D3A9
accent
#D65270
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AC5DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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