#AC2CA8#AC2CA8

#AC2CA8 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.211 H 329.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AC2CA8
RGBrgb(172, 44, 168)
HSLhsl(302, 59%, 42%)
HSVhsv(302, 74%, 67%)
CMYKcmyk(0%, 74.4%, 2.3%, 32.5%)
CIE-LABlab(43.36, 64.41, -38.84)
CIE-LCHlch(43.36, 75.22, 328.91°)
OKLaboklab(53.96% 0.1816 -0.1074)
OKLCHoklch(53.96% 0.211 329.4)
XYZxyz(24.9816, 13.4011, 38.3091)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2CA8 #2CAC30
analogous
#702CAC #AC2CA8 #AC2C68
triadic
#AC2CA8 #A8AC2C #2CA8AC
tetradic
#AC2CA8 #AC702C #2CAC30 #2C68AC
square
#AC2CA8 #AC702C #2CAC30 #2C68AC
split-complementary
#AC2CA8 #68AC2C #2CAC70
monochromatic
#4B1349 #7B2078 #AC2CA8 #D046CB #DC76D9

Accessibility & contrast

On white

5.71
#AC2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AC2CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2CA8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2CA8#FFFFFF#000000##FFFFFF
##AC2CA81.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185CAB
Deuteranopia (green-blind)
#526CA5
Tritanopia (blue-blind)
#B23E68
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2ca8;
/* rgb */ color: rgb(172, 44, 168);
/* oklch */ color: oklch(54.0% 0.211 329.4);
Tailwind
colors: {
  custom: {
    50: '#c873c2',
    500: '#ac2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #ac2ca8;
$custom-light: #c873c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2ca8",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 301.875,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53961,
    "c": 0.21096,
    "h": 329.4
  },
  "luminance": 0.13399
}

Semantic roles & 50–950 ramp

primary
#AC2CA8
secondary
#70C473
accent
#E24A45
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AC2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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