#AC2CA6#AC2CA6

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

Color values

HEX#AC2CA6
RGBrgb(172, 44, 166)
HSLhsl(303, 59%, 42%)
HSVhsv(303, 74%, 67%)
CMYKcmyk(0%, 74.4%, 3.5%, 32.5%)
CIE-LABlab(43.25, 64.09, -37.83)
CIE-LCHlch(43.25, 74.42, 329.45°)
OKLaboklab(53.85% 0.1816 -0.1044)
OKLCHoklch(53.85% 0.209 330.1)
XYZxyz(24.7968, 13.3271, 37.3354)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CA6 #2CAC32
analogous
#722CAC #AC2CA6 #AC2C66
triadic
#AC2CA6 #A6AC2C #2CA6AC
tetradic
#AC2CA6 #AC722C #2CAC32 #2C66AC
square
#AC2CA6 #AC722C #2CAC32 #2C66AC
split-complementary
#AC2CA6 #66AC2C #2CAC72
monochromatic
#4B1348 #7B2077 #AC2CA6 #D046C9 #DC76D7

Accessibility & contrast

On white

5.73
#AC2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AC2CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2CA6
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CA6#FFFFFF#000000##FFFFFF
##AC2CA61.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2ca6;
/* rgb */ color: rgb(172, 44, 166);
/* oklch */ color: oklch(53.8% 0.209 330.1);
Tailwind
colors: {
  custom: {
    50: '#c873c1',
    500: '#ac2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ca6;
$custom-light: #c873c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ca6",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 302.813,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53848,
    "c": 0.20945,
    "h": 330.1
  },
  "luminance": 0.13325
}

Semantic roles & 50–950 ramp

primary
#AC2CA6
secondary
#70C474
accent
#E24D45
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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