#AC2AAC#AC2AAC

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

Color values

HEX#AC2AAC
RGBrgb(172, 42, 172)
HSLhsl(300, 61%, 42%)
HSVhsv(300, 76%, 67%)
CMYKcmyk(0%, 75.6%, 0%, 32.5%)
CIE-LABlab(43.37, 65.68, -41.21)
CIE-LCHlch(43.37, 77.53, 327.89°)
OKLaboklab(54.04% 0.1833 -0.1142)
OKLCHoklch(54.04% 0.216 328.1)
XYZxyz(25.2873, 13.4070, 40.2777)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2AAC #2AAC2A
analogous
#6B2AAC #AC2AAC #AC2A6B
triadic
#AC2AAC #ACAC2A #2AACAC
tetradic
#AC2AAC #AC6B2A #2AAC2A #2A6BAC
square
#AC2AAC #AC6B2A #2AAC2A #2A6BAC
split-complementary
#AC2AAC #6BAC2A #2AAC6B
monochromatic
#4A124A #7B1E7B #AC2AAC #D142D1 #DD73DD

Accessibility & contrast

On white

5.70
#AC2AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2AAC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2AAC#FFFFFF#000000##FFFFFF
##AC2AAC1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095CAF
Deuteranopia (green-blind)
#4F6CA9
Tritanopia (blue-blind)
#B23F6A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ac2aac;
/* rgb */ color: rgb(172, 42, 172);
/* oklch */ color: oklch(54.0% 0.216 328.1);
Tailwind
colors: {
  custom: {
    50: '#c972c5',
    500: '#ac2aac',
    950: '#000000',
  },
}
SCSS
$custom: #ac2aac;
$custom-light: #c972c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2aac",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5404,
    "c": 0.21598,
    "h": 328.1
  },
  "luminance": 0.13405
}

Semantic roles & 50–950 ramp

primary
#AC2AAC
secondary
#6DC46D
accent
#E44444
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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