#AC5DCD#AC5DCD

#AC5DCD is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.6% C 0.178 H 315.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AC5DCD
RGBrgb(172, 93, 205)
HSLhsl(282, 53%, 58%)
HSVhsv(282, 55%, 80%)
CMYKcmyk(16.1%, 54.6%, 0%, 19.6%)
CIE-LABlab(52.96, 50.40, -45.18)
CIE-LCHlch(52.96, 67.69, 318.13°)
OKLaboklab(61.57% 0.126 -0.1262)
OKLCHoklch(61.57% 0.178 315)
XYZxyz(31.9453, 21.0081, 60.1179)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5DCD #7ECD5D
analogous
#745DCD #AC5DCD #CD5DB6
triadic
#AC5DCD #CDAC5D #5DCDAC
tetradic
#AC5DCD #CD745D #7ECD5D #5DB6CD
square
#AC5DCD #CD745D #7ECD5D #5DB6CD
split-complementary
#AC5DCD #B6CD5D #5DCD74
monochromatic
#6B2986 #9038B5 #AC5DCD #C48CDB #DCBBEA

Accessibility & contrast

On white

4.04
#AC5DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#AC5DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5DCD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5DCD#FFFFFF#000000##000000
##AC5DCD1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#417AD1
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#AA6F8C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac5dcd;
/* rgb */ color: rgb(172, 93, 205);
/* oklch */ color: oklch(61.6% 0.178 315.0);
Tailwind
colors: {
  custom: {
    50: '#c78edd',
    500: '#ac5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #ac5dcd;
$custom-light: #c78edd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5dcd",
  "rgb": {
    "r": 172,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 282.321,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6157,
    "c": 0.17827,
    "h": 315
  },
  "luminance": 0.21007
}

Semantic roles & 50–950 ramp

primary
#AC5DCD
secondary
#BAD9AD
accent
#DC4C76
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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