#AC2BA1#AC2BA1

#AC2BA1 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.207 H 331.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AC2BA1
RGBrgb(172, 43, 161)
HSLhsl(305, 60%, 42%)
HSVhsv(305, 75%, 67%)
CMYKcmyk(0%, 75%, 6.4%, 32.5%)
CIE-LABlab(42.87, 63.62, -35.44)
CIE-LCHlch(42.87, 72.82, 330.88°)
OKLaboklab(53.49% 0.1823 -0.0975)
OKLCHoklch(53.49% 0.207 331.9)
XYZxyz(24.3102, 13.0736, 34.9544)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2BA1 #2BAC36
analogous
#762BAC #AC2BA1 #AC2B61
triadic
#AC2BA1 #A1AC2B #2BA1AC
tetradic
#AC2BA1 #AC762B #2BAC36 #2B61AC
square
#AC2BA1 #AC762B #2BAC36 #2B61AC
split-complementary
#AC2BA1 #61AC2B #2BAC76
monochromatic
#4A1345 #7B1F73 #AC2BA1 #D044C4 #DC75D4

Accessibility & contrast

On white

5.81
#AC2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AC2BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2BA1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2BA1#FFFFFF#000000##FFFFFF
##AC2BA11.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#556C9E
Tritanopia (blue-blind)
#B33A64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2ba1;
/* rgb */ color: rgb(172, 43, 161);
/* oklch */ color: oklch(53.5% 0.207 331.9);
Tailwind
colors: {
  custom: {
    50: '#c872bd',
    500: '#ac2ba1',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ba1;
$custom-light: #c872bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ba1",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 305.116,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.20677,
    "h": 331.9
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#AC2BA1
secondary
#6FC476
accent
#E35245
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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