#AC2CA7#AC2CA7

#AC2CA7 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.210 H 329.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AC2CA7
RGBrgb(172, 44, 167)
HSLhsl(302, 59%, 42%)
HSVhsv(302, 74%, 67%)
CMYKcmyk(0%, 74.4%, 2.9%, 32.5%)
CIE-LABlab(43.31, 64.25, -38.34)
CIE-LCHlch(43.31, 74.82, 329.18°)
OKLaboklab(53.9% 0.1816 -0.1059)
OKLCHoklch(53.9% 0.21 329.7)
XYZxyz(24.8888, 13.3640, 37.8204)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CA7 #2CAC31
analogous
#712CAC #AC2CA7 #AC2C67
triadic
#AC2CA7 #A7AC2C #2CA7AC
tetradic
#AC2CA7 #AC712C #2CAC31 #2C67AC
square
#AC2CA7 #AC712C #2CAC31 #2C67AC
split-complementary
#AC2CA7 #67AC2C #2CAC71
monochromatic
#4B1348 #7B2078 #AC2CA7 #D046CA #DC76D8

Accessibility & contrast

On white

5.72
#AC2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2CA7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CA7#FFFFFF#000000##FFFFFF
##AC2CA71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5BAA
Deuteranopia (green-blind)
#526CA4
Tritanopia (blue-blind)
#B23E67
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2ca7;
/* rgb */ color: rgb(172, 44, 167);
/* oklch */ color: oklch(53.9% 0.210 329.7);
Tailwind
colors: {
  custom: {
    50: '#c873c1',
    500: '#ac2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ca7;
$custom-light: #c873c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ca7",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 302.344,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53904,
    "c": 0.2102,
    "h": 329.7
  },
  "luminance": 0.13362
}

Semantic roles & 50–950 ramp

primary
#AC2CA7
secondary
#70C473
accent
#E24B45
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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