#AC2DB8#AC2DB8

#AC2DB8 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.222 H 324.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AC2DB8
RGBrgb(172, 45, 184)
HSLhsl(295, 61%, 45%)
HSVhsv(295, 76%, 72%)
CMYKcmyk(6.5%, 75.5%, 0%, 27.8%)
CIE-LABlab(44.39, 66.76, -46.66)
CIE-LCHlch(44.39, 81.45, 325.05°)
OKLaboklab(54.99% 0.1802 -0.1302)
OKLCHoklch(54.99% 0.222 324.2)
XYZxyz(26.6026, 14.1098, 46.6604)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DB8 #39B82D
analogous
#662DB8 #AC2DB8 #B82D7F
triadic
#AC2DB8 #B8AC2D #2DB8AC
tetradic
#AC2DB8 #B8662D #39B82D #2D7FB8
square
#AC2DB8 #B8662D #39B82D #2D7FB8
split-complementary
#AC2DB8 #7FB82D #2DB866
monochromatic
#501556 #7E2187 #AC2DB8 #C84ED4 #D880E0

Accessibility & contrast

On white

5.50
#AC2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AC2DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DB8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DB8#FFFFFF#000000##FFFFFF
##AC2DB81.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#486EB5
Tritanopia (blue-blind)
#AF4771
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ac2db8;
/* rgb */ color: rgb(172, 45, 184);
/* oklch */ color: oklch(55.0% 0.222 324.2);
Tailwind
colors: {
  custom: {
    50: '#c974ce',
    500: '#ac2db8',
    950: '#000000',
  },
}
SCSS
$custom: #ac2db8;
$custom-light: #c974ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2db8",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 294.82,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54991,
    "c": 0.22232,
    "h": 324.2
  },
  "luminance": 0.14108
}

Semantic roles & 50–950 ramp

primary
#AC2DB8
secondary
#7FC978
accent
#E44452
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AC2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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