#AC2DAB#AC2DAB

#AC2DAB is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.212 H 328.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AC2DAB
RGBrgb(172, 45, 171)
HSLhsl(300, 59%, 43%)
HSVhsv(300, 74%, 67%)
CMYKcmyk(0%, 73.8%, 0.6%, 32.5%)
CIE-LABlab(43.64, 64.58, -40.19)
CIE-LCHlch(43.64, 76.06, 328.11°)
OKLaboklab(54.21% 0.1807 -0.1113)
OKLCHoklch(54.21% 0.212 328.4)
XYZxyz(25.3020, 13.5896, 39.8106)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DAB #2DAC2E
analogous
#6D2DAC #AC2DAB #AC2D6C
triadic
#AC2DAB #ABAC2D #2DABAC
tetradic
#AC2DAB #AC6D2D #2DAC2E #2D6CAC
square
#AC2DAB #AC6D2D #2DAC2E #2D6CAC
split-complementary
#AC2DAB #6CAC2D #2DAC6D
monochromatic
#4B144B #7B207B #AC2DAB #CF47CE #DC78DB

Accessibility & contrast

On white

5.65
#AC2DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AC2DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DAB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DAB#FFFFFF#000000##FFFFFF
##AC2DAB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145DAE
Deuteranopia (green-blind)
#516DA8
Tritanopia (blue-blind)
#B2416A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2dab;
/* rgb */ color: rgb(172, 45, 171);
/* oklch */ color: oklch(54.2% 0.212 328.4);
Tailwind
colors: {
  custom: {
    50: '#c874c4',
    500: '#ac2dab',
    950: '#000000',
  },
}
SCSS
$custom: #ac2dab;
$custom-light: #c874c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2dab",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 300.472,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54213,
    "c": 0.2122,
    "h": 328.4
  },
  "luminance": 0.13588
}

Semantic roles & 50–950 ramp

primary
#AC2DAB
secondary
#71C472
accent
#E24746
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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