#AC2AB2#AC2AB2

#AC2AB2 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.221 H 326.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AC2AB2
RGBrgb(172, 42, 178)
HSLhsl(297, 62%, 43%)
HSVhsv(297, 76%, 70%)
CMYKcmyk(3.4%, 76.4%, 0%, 30.2%)
CIE-LABlab(43.72, 66.66, -44.21)
CIE-LCHlch(43.72, 79.99, 326.45°)
OKLaboklab(54.4% 0.1831 -0.123)
OKLCHoklch(54.4% 0.221 326.1)
XYZxyz(25.8766, 13.6427, 43.3812)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AB2 #30B22A
analogous
#682AB2 #AC2AB2 #B22A74
triadic
#AC2AB2 #B2AC2A #2AB2AC
tetradic
#AC2AB2 #B2682A #30B22A #2A74B2
square
#AC2AB2 #B2682A #30B22A #2A74B2
split-complementary
#AC2AB2 #74B22A #2AB268
monochromatic
#4C134F #7C1E80 #AC2AB2 #CD46D3 #DA77DF

Accessibility & contrast

On white

5.63
#AC2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AC2AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2AB2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AB2#FFFFFF#000000##FFFFFF
##AC2AB21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#B0426D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ac2ab2;
/* rgb */ color: rgb(172, 42, 178);
/* oklch */ color: oklch(54.4% 0.221 326.1);
Tailwind
colors: {
  custom: {
    50: '#c973c9',
    500: '#ac2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ab2;
$custom-light: #c973c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ab2",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 297.353,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54397,
    "c": 0.22056,
    "h": 326.1
  },
  "luminance": 0.13641
}

Semantic roles & 50–950 ramp

primary
#AC2AB2
secondary
#75C771
accent
#E5434A
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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