#AC2BAA#AC2BAA

#AC2BAA is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.213 H 328.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AC2BAA
RGBrgb(172, 43, 170)
HSLhsl(301, 60%, 42%)
HSVhsv(301, 75%, 67%)
CMYKcmyk(0%, 75%, 1.2%, 32.5%)
CIE-LABlab(43.36, 65.05, -40.03)
CIE-LCHlch(43.36, 76.38, 328.39°)
OKLaboklab(54% 0.1825 -0.1108)
OKLCHoklch(54% 0.213 328.7)
XYZxyz(25.1326, 13.4026, 39.2857)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2BAA #2BAC2D
analogous
#6D2BAC #AC2BAA #AC2B6A
triadic
#AC2BAA #AAAC2B #2BAAAC
tetradic
#AC2BAA #AC6D2B #2BAC2D #2B6AAC
square
#AC2BAA #AC6D2B #2BAC2D #2B6AAC
split-complementary
#AC2BAA #6AAC2B #2BAC6D
monochromatic
#4A1349 #7B1F7A #AC2BAA #D044CE #DC75DB

Accessibility & contrast

On white

5.71
#AC2BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AC2BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2BAA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2BAA#FFFFFF#000000##FFFFFF
##AC2BAA1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125CAD
Deuteranopia (green-blind)
#506CA7
Tritanopia (blue-blind)
#B23F69
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2baa;
/* rgb */ color: rgb(172, 43, 170);
/* oklch */ color: oklch(54.0% 0.213 328.7);
Tailwind
colors: {
  custom: {
    50: '#c973c4',
    500: '#ac2baa',
    950: '#000000',
  },
}
SCSS
$custom: #ac2baa;
$custom-light: #c973c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2baa",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 300.93,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53999,
    "c": 0.21347,
    "h": 328.7
  },
  "luminance": 0.13401
}

Semantic roles & 50–950 ramp

primary
#AC2BAA
secondary
#6FC470
accent
#E34745
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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