#AC2BA7#AC2BA7

#AC2BA7 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.211 H 329.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AC2BA7
RGBrgb(172, 43, 167)
HSLhsl(302, 60%, 42%)
HSVhsv(302, 75%, 67%)
CMYKcmyk(0%, 75%, 2.9%, 32.5%)
CIE-LABlab(43.20, 64.56, -38.51)
CIE-LCHlch(43.20, 75.18, 329.19°)
OKLaboklab(53.83% 0.1825 -0.1064)
OKLCHoklch(53.83% 0.211 329.7)
XYZxyz(24.8520, 13.2904, 37.8081)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2BA7 #2BAC30
analogous
#712BAC #AC2BA7 #AC2B66
triadic
#AC2BA7 #A7AC2B #2BA7AC
tetradic
#AC2BA7 #AC712B #2BAC30 #2B66AC
square
#AC2BA7 #AC712B #2BAC30 #2B66AC
split-complementary
#AC2BA7 #66AC2B #2BAC71
monochromatic
#4A1348 #7B1F77 #AC2BA7 #D044CB #DC75D8

Accessibility & contrast

On white

5.74
#AC2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AC2BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2BA7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2BA7#FFFFFF#000000##FFFFFF
##AC2BA71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185BAA
Deuteranopia (green-blind)
#526CA4
Tritanopia (blue-blind)
#B23D67
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2ba7;
/* rgb */ color: rgb(172, 43, 167);
/* oklch */ color: oklch(53.8% 0.211 329.7);
Tailwind
colors: {
  custom: {
    50: '#c973c1',
    500: '#ac2ba7',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ba7;
$custom-light: #c973c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ba7",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 302.326,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53826,
    "c": 0.21122,
    "h": 329.7
  },
  "luminance": 0.13288
}

Semantic roles & 50–950 ramp

primary
#AC2BA7
secondary
#6FC472
accent
#E34B45
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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