#AC2DB2#AC2DB2

#AC2DB2 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.218 H 326.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AC2DB2
RGBrgb(172, 45, 178)
HSLhsl(297, 60%, 44%)
HSVhsv(297, 75%, 70%)
CMYKcmyk(3.4%, 74.7%, 0%, 30.2%)
CIE-LABlab(44.04, 65.74, -43.70)
CIE-LCHlch(44.04, 78.94, 326.39°)
OKLaboklab(54.63% 0.1805 -0.1215)
OKLCHoklch(54.63% 0.218 326.1)
XYZxyz(25.9870, 13.8635, 43.4180)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DB2 #33B22D
analogous
#692DB2 #AC2DB2 #B22D75
triadic
#AC2DB2 #B2AC2D #2DB2AC
tetradic
#AC2DB2 #B2692D #33B22D #2D75B2
square
#AC2DB2 #B2692D #33B22D #2D75B2
split-complementary
#AC2DB2 #75B22D #2DB269
monochromatic
#4E1450 #7D2181 #AC2DB2 #CB4BD1 #D97CDE

Accessibility & contrast

On white

5.57
#AC2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AC2DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DB2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DB2#FFFFFF#000000##FFFFFF
##AC2DB21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#4C6DAF
Tritanopia (blue-blind)
#B0446E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2db2;
/* rgb */ color: rgb(172, 45, 178);
/* oklch */ color: oklch(54.6% 0.218 326.1);
Tailwind
colors: {
  custom: {
    50: '#c974c9',
    500: '#ac2db2',
    950: '#000000',
  },
}
SCSS
$custom: #ac2db2;
$custom-light: #c974c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2db2",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 297.293,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54626,
    "c": 0.21761,
    "h": 326.1
  },
  "luminance": 0.13862
}

Semantic roles & 50–950 ramp

primary
#AC2DB2
secondary
#78C675
accent
#E3454C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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