#AC4DB2#AC4DB2

#AC4DB2 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.9% C 0.176 H 325.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AC4DB2
RGBrgb(172, 77, 178)
HSLhsl(296, 40%, 50%)
HSVhsv(296, 57%, 70%)
CMYKcmyk(3.4%, 56.7%, 0%, 30.2%)
CIE-LABlab(48.63, 52.94, -36.42)
CIE-LCHlch(48.63, 64.26, 325.47°)
OKLaboklab(57.94% 0.1449 -0.1006)
OKLCHoklch(57.94% 0.176 325.2)
XYZxyz(27.7024, 17.2943, 43.9898)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4DB2 #53B24D
analogous
#7A4DB2 #AC4DB2 #B24D85
triadic
#AC4DB2 #B2AC4D #4DB2AC
tetradic
#AC4DB2 #B27A4D #53B24D #4D85B2
square
#AC4DB2 #B27A4D #53B24D #4D85B2
split-complementary
#AC4DB2 #85B24D #4DB27A
monochromatic
#59285D #833B87 #AC4DB2 #C078C4 #D4A2D7

Accessibility & contrast

On white

4.71
#AC4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AC4DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4DB2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4DB2#FFFFFF#000000##FFFFFF
##AC4DB21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#5F78AF
Tritanopia (blue-blind)
#B05A78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ac4db2;
/* rgb */ color: rgb(172, 77, 178);
/* oklch */ color: oklch(57.9% 0.176 325.2);
Tailwind
colors: {
  custom: {
    50: '#c784c9',
    500: '#ac4db2',
    950: '#000000',
  },
}
SCSS
$custom: #ac4db2;
$custom-light: #c784c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4db2",
  "rgb": {
    "r": 172,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 296.436,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.57944,
    "c": 0.1764,
    "h": 325.2
  },
  "luminance": 0.17293
}

Semantic roles & 50–950 ramp

primary
#AC4DB2
secondary
#99C497
accent
#CF585F
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AC4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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