#AC5BD2#AC5BD2

#AC5BD2 is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.6% C 0.187 H 313.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AC5BD2
RGBrgb(172, 91, 210)
HSLhsl(281, 57%, 59%)
HSVhsv(281, 57%, 82%)
CMYKcmyk(18.1%, 56.7%, 0%, 17.6%)
CIE-LABlab(52.85, 52.47, -48.21)
CIE-LCHlch(52.85, 71.25, 317.42°)
OKLaboklab(61.58% 0.1289 -0.135)
OKLCHoklch(61.58% 0.187 313.7)
XYZxyz(32.3852, 20.9069, 63.2897)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5BD2 #81D25B
analogous
#715BD2 #AC5BD2 #D25BBD
triadic
#AC5BD2 #D2AC5B #5BD2AC
tetradic
#AC5BD2 #D2715B #81D25B #5BBDD2
square
#AC5BD2 #D2715B #81D25B #5BBDD2
split-complementary
#AC5BD2 #BDD25B #5BD271
monochromatic
#6C268C #9134BC #AC5BD2 #C48BDF #DDBBEC

Accessibility & contrast

On white

4.05
#AC5BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AC5BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5BD2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5BD2#FFFFFF#000000##000000
##AC5BD21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#397AD6
Deuteranopia (green-blind)
#5780CF
Tritanopia (blue-blind)
#A96F8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac5bd2;
/* rgb */ color: rgb(172, 91, 210);
/* oklch */ color: oklch(61.6% 0.187 313.7);
Tailwind
colors: {
  custom: {
    50: '#c78de0',
    500: '#ac5bd2',
    950: '#000000',
  },
}
SCSS
$custom: #ac5bd2;
$custom-light: #c78de0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5bd2",
  "rgb": {
    "r": 172,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 280.84,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61576,
    "c": 0.18661,
    "h": 313.7
  },
  "luminance": 0.20906
}

Semantic roles & 50–950 ramp

primary
#AC5BD2
secondary
#BCDCAD
accent
#E04878
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AC5BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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