#AC2BA6#AC2BA6

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

Color values

HEX#AC2BA6
RGBrgb(172, 43, 166)
HSLhsl(303, 60%, 42%)
HSVhsv(303, 75%, 67%)
CMYKcmyk(0%, 75%, 3.5%, 32.5%)
CIE-LABlab(43.14, 64.41, -38.00)
CIE-LCHlch(43.14, 74.78, 329.46°)
OKLaboklab(53.77% 0.1825 -0.1049)
OKLCHoklch(53.77% 0.21 330.1)
XYZxyz(24.7600, 13.2535, 37.3231)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2BA6 #2BAC31
analogous
#722BAC #AC2BA6 #AC2B65
triadic
#AC2BA6 #A6AC2B #2BA6AC
tetradic
#AC2BA6 #AC722B #2BAC31 #2B65AC
square
#AC2BA6 #AC722B #2BAC31 #2B65AC
split-complementary
#AC2BA6 #65AC2B #2BAC72
monochromatic
#4A1347 #7B1F77 #AC2BA6 #D044CA #DC75D8

Accessibility & contrast

On white

5.75
#AC2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AC2BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2BA6
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2BA6#FFFFFF#000000##FFFFFF
##AC2BA61.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5BA9
Deuteranopia (green-blind)
#526CA3
Tritanopia (blue-blind)
#B23D67
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2ba6;
/* rgb */ color: rgb(172, 43, 166);
/* oklch */ color: oklch(53.8% 0.210 330.1);
Tailwind
colors: {
  custom: {
    50: '#c973c1',
    500: '#ac2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ba6;
$custom-light: #c973c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ba6",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 302.791,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5377,
    "c": 0.21048,
    "h": 330.1
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#AC2BA6
secondary
#6FC473
accent
#E34C45
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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