#AC4DBC#AC4DBC

#AC4DBC is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.5% C 0.186 H 321.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AC4DBC
RGBrgb(172, 77, 188)
HSLhsl(291, 45%, 52%)
HSVhsv(291, 59%, 74%)
CMYKcmyk(8.5%, 59%, 0%, 26.3%)
CIE-LABlab(49.14, 54.82, -41.44)
CIE-LCHlch(49.14, 68.72, 322.91°)
OKLaboklab(58.49% 0.1457 -0.1152)
OKLCHoklch(58.49% 0.186 321.7)
XYZxyz(28.7432, 17.7106, 49.4717)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4DBC #5DBC4D
analogous
#754DBC #AC4DBC #BC4D95
triadic
#AC4DBC #BCAC4D #4DBCAC
tetradic
#AC4DBC #BC754D #5DBC4D #4D95BC
square
#AC4DBC #BC754D #5DBC4D #4D95BC
split-complementary
#AC4DBC #95BC4D #4DBC75
monochromatic
#5E2768 #873894 #AC4DBC #C179CD #D5A6DD

Accessibility & contrast

On white

4.62
#AC4DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AC4DBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4DBC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4DBC#FFFFFF#000000##FFFFFF
##AC4DBC1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EBF
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#AE5E7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ac4dbc;
/* rgb */ color: rgb(172, 77, 188);
/* oklch */ color: oklch(58.5% 0.186 321.7);
Tailwind
colors: {
  custom: {
    50: '#c784d0',
    500: '#ac4dbc',
    950: '#000000',
  },
}
SCSS
$custom: #ac4dbc;
$custom-light: #c784d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4dbc",
  "rgb": {
    "r": 172,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 291.351,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58487,
    "c": 0.18569,
    "h": 321.7
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#AC4DBC
secondary
#A1CB9A
accent
#D55366
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AC4DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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