#AC4DBD#AC4DBD

#AC4DBD is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.5% C 0.187 H 321.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AC4DBD
RGBrgb(172, 77, 189)
HSLhsl(291, 46%, 52%)
HSVhsv(291, 59%, 74%)
CMYKcmyk(9%, 59.3%, 0%, 25.9%)
CIE-LABlab(49.20, 55.01, -41.94)
CIE-LCHlch(49.20, 69.17, 322.68°)
OKLaboklab(58.54% 0.1457 -0.1166)
OKLCHoklch(58.54% 0.187 321.3)
XYZxyz(28.8514, 17.7539, 50.0414)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4DBD #5EBD4D
analogous
#744DBD #AC4DBD #BD4D96
triadic
#AC4DBD #BDAC4D #4DBDAC
tetradic
#AC4DBD #BD744D #5EBD4D #4D96BD
square
#AC4DBD #BD744D #5EBD4D #4D96BD
split-complementary
#AC4DBD #96BD4D #4DBD74
monochromatic
#5F2769 #873795 #AC4DBD #C17ACE #D6A6DE

Accessibility & contrast

On white

4.61
#AC4DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AC4DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4DBD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4DBD#FFFFFF#000000##FFFFFF
##AC4DBD1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EC0
Deuteranopia (green-blind)
#5979BA
Tritanopia (blue-blind)
#AE5E7E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac4dbd;
/* rgb */ color: rgb(172, 77, 189);
/* oklch */ color: oklch(58.5% 0.187 321.3);
Tailwind
colors: {
  custom: {
    50: '#c784d1',
    500: '#ac4dbd',
    950: '#000000',
  },
}
SCSS
$custom: #ac4dbd;
$custom-light: #c784d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4dbd",
  "rgb": {
    "r": 172,
    "g": 77,
    "b": 189
  },
  "hsl": {
    "h": 290.893,
    "s": 45.902,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58542,
    "c": 0.18664,
    "h": 321.3
  },
  "luminance": 0.17753
}

Semantic roles & 50–950 ramp

primary
#AC4DBD
secondary
#A2CB9A
accent
#D65266
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC4DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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