#AC2DB1#AC2DB1

#AC2DB1 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.217 H 326.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AC2DB1
RGBrgb(172, 45, 177)
HSLhsl(298, 59%, 44%)
HSVhsv(298, 75%, 69%)
CMYKcmyk(2.8%, 74.6%, 0%, 30.6%)
CIE-LABlab(43.98, 65.58, -43.20)
CIE-LCHlch(43.98, 78.53, 326.62°)
OKLaboklab(54.57% 0.1806 -0.1201)
OKLCHoklch(54.57% 0.217 326.4)
XYZxyz(25.8870, 13.8235, 42.8912)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DB1 #32B12D
analogous
#6A2DB1 #AC2DB1 #B12D74
triadic
#AC2DB1 #B1AC2D #2DB1AC
tetradic
#AC2DB1 #B16A2D #32B12D #2D74B1
square
#AC2DB1 #B16A2D #32B12D #2D74B1
split-complementary
#AC2DB1 #74B12D #2DB16A
monochromatic
#4D144F #7D2180 #AC2DB1 #CC4AD1 #DA7BDD

Accessibility & contrast

On white

5.58
#AC2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AC2DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DB1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DB1#FFFFFF#000000##FFFFFF
##AC2DB11.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015EB5
Deuteranopia (green-blind)
#4D6DAE
Tritanopia (blue-blind)
#B1446D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2db1;
/* rgb */ color: rgb(172, 45, 177);
/* oklch */ color: oklch(54.6% 0.217 326.4);
Tailwind
colors: {
  custom: {
    50: '#c974c9',
    500: '#ac2db1',
    950: '#000000',
  },
}
SCSS
$custom: #ac2db1;
$custom-light: #c974c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2db1",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 297.727,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54566,
    "c": 0.21683,
    "h": 326.4
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#AC2DB1
secondary
#77C674
accent
#E3454B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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