#AC5DBF#AC5DBF

#AC5DBF is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.8% C 0.164 H 319.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AC5DBF
RGBrgb(172, 93, 191)
HSLhsl(288, 43%, 56%)
HSVhsv(288, 51%, 75%)
CMYKcmyk(9.9%, 51.3%, 0%, 25.1%)
CIE-LABlab(52.24, 47.52, -38.28)
CIE-LCHlch(52.24, 61.02, 321.15°)
OKLaboklab(60.81% 0.1246 -0.1061)
OKLCHoklch(60.81% 0.164 319.6)
XYZxyz(30.3304, 20.3621, 51.6127)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5DBF #70BF5D
analogous
#7B5DBF #AC5DBF #BF5DA1
triadic
#AC5DBF #BFAC5D #5DBFAC
tetradic
#AC5DBF #BF7B5D #70BF5D #5DA1BF
square
#AC5DBF #BF7B5D #70BF5D #5DA1BF
split-complementary
#AC5DBF #A1BF5D #5DBF7B
monochromatic
#662E74 #8D3FA0 #AC5DBF #C289D0 #D9B5E2

Accessibility & contrast

On white

4.14
#AC5DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AC5DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5DBF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5DBF#FFFFFF#000000##000000
##AC5DBF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B77C2
Deuteranopia (green-blind)
#647FBC
Tritanopia (blue-blind)
#AD6B85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ac5dbf;
/* rgb */ color: rgb(172, 93, 191);
/* oklch */ color: oklch(60.8% 0.164 319.6);
Tailwind
colors: {
  custom: {
    50: '#c78ed2',
    500: '#ac5dbf',
    950: '#000000',
  },
}
SCSS
$custom: #ac5dbf;
$custom-light: #c78ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5dbf",
  "rgb": {
    "r": 172,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 288.367,
    "s": 43.363,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60812,
    "c": 0.16368,
    "h": 319.6
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#AC5DBF
secondary
#AFD0A8
accent
#D3556D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AC5DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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