#AC2DAF#AC2DAF

#AC2DAF is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.215 H 327.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AC2DAF
RGBrgb(172, 45, 175)
HSLhsl(299, 59%, 43%)
HSVhsv(299, 74%, 69%)
CMYKcmyk(1.7%, 74.3%, 0%, 31.4%)
CIE-LABlab(43.86, 65.24, -42.20)
CIE-LCHlch(43.86, 77.70, 327.10°)
OKLaboklab(54.45% 0.1806 -0.1171)
OKLCHoklch(54.45% 0.215 327)
XYZxyz(25.6891, 13.7444, 41.8490)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2DAF #30AF2D
analogous
#6B2DAF #AC2DAF #AF2D71
triadic
#AC2DAF #AFAC2D #2DAFAC
tetradic
#AC2DAF #AF6B2D #30AF2D #2D71AF
square
#AC2DAF #AF6B2D #30AF2D #2D71AF
split-complementary
#AC2DAF #71AF2D #2DAF6B
monochromatic
#4C144E #7C207E #AC2DAF #CD49D0 #DA7ADD

Accessibility & contrast

On white

5.60
#AC2DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AC2DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2DAF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2DAF#FFFFFF#000000##FFFFFF
##AC2DAF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095DB3
Deuteranopia (green-blind)
#4E6DAC
Tritanopia (blue-blind)
#B1436C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ac2daf;
/* rgb */ color: rgb(172, 45, 175);
/* oklch */ color: oklch(54.4% 0.215 327.0);
Tailwind
colors: {
  custom: {
    50: '#c974c7',
    500: '#ac2daf',
    950: '#000000',
  },
}
SCSS
$custom: #ac2daf;
$custom-light: #c974c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2daf",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 298.615,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54447,
    "c": 0.21528,
    "h": 327
  },
  "luminance": 0.13743
}

Semantic roles & 50–950 ramp

primary
#AC2DAF
secondary
#75C573
accent
#E24649
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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