#AC5CD2#AC5CD2

#AC5CD2 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.7% C 0.185 H 313.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AC5CD2
RGBrgb(172, 92, 210)
HSLhsl(281, 57%, 59%)
HSVhsv(281, 56%, 82%)
CMYKcmyk(18.1%, 56.2%, 0%, 17.6%)
CIE-LABlab(53.04, 51.97, -47.91)
CIE-LCHlch(53.04, 70.68, 317.33°)
OKLaboklab(61.71% 0.1276 -0.1341)
OKLCHoklch(61.71% 0.185 313.6)
XYZxyz(32.4713, 21.0790, 63.3184)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CD2 #82D25C
analogous
#715CD2 #AC5CD2 #D25CBD
triadic
#AC5CD2 #D2AC5C #5CD2AC
tetradic
#AC5CD2 #D2715C #82D25C #5CBDD2
square
#AC5CD2 #D2715C #82D25C #5CBDD2
split-complementary
#AC5CD2 #BDD25C #5CD271
monochromatic
#6C278D #9134BD #AC5CD2 #C48CDF #DDBCEC

Accessibility & contrast

On white

4.03
#AC5CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC5CD2#FFFFFF#000000##000000
##AC5CD21.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7AD6
Deuteranopia (green-blind)
#5881CF
Tritanopia (blue-blind)
#A9708E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ac5cd2;
/* rgb */ color: rgb(172, 92, 210);
/* oklch */ color: oklch(61.7% 0.185 313.6);
Tailwind
colors: {
  custom: {
    50: '#c78ee0',
    500: '#ac5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cd2;
$custom-light: #c78ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cd2",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 280.678,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61714,
    "c": 0.18509,
    "h": 313.6
  },
  "luminance": 0.21078
}

Semantic roles & 50–950 ramp

primary
#AC5CD2
secondary
#BDDCAE
accent
#E04879
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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