#AC2E99#AC2E99

#AC2E99 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.3% C 0.198 H 334.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AC2E99
RGBrgb(172, 46, 153)
HSLhsl(309, 58%, 43%)
HSVhsv(309, 73%, 67%)
CMYKcmyk(0%, 73.3%, 11%, 32.5%)
CIE-LABlab(42.80, 61.42, -30.74)
CIE-LCHlch(42.80, 68.69, 333.41°)
OKLaboklab(53.31% 0.179 -0.084)
OKLCHoklch(53.31% 0.198 334.9)
XYZxyz(23.7403, 13.0266, 31.3949)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E99 #2EAC41
analogous
#802EAC #AC2E99 #AC2E5A
triadic
#AC2E99 #99AC2E #2E99AC
tetradic
#AC2E99 #AC802E #2EAC41 #2E5AAC
square
#AC2E99 #AC802E #2EAC41 #2E5AAC
split-complementary
#AC2E99 #5AAC2E #2EAC80
monochromatic
#4B1443 #7C216E #AC2E99 #CE49BA #DB79CC

Accessibility & contrast

On white

5.83
#AC2E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AC2E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E99
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E99#FFFFFF#000000##FFFFFF
##AC2E991.005.833.615.83
#FFFFFF5.831.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#5A6C96
Tritanopia (blue-blind)
#B43860
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2e99;
/* rgb */ color: rgb(172, 46, 153);
/* oklch */ color: oklch(53.3% 0.198 334.9);
Tailwind
colors: {
  custom: {
    50: '#c873b7',
    500: '#ac2e99',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e99;
$custom-light: #c873b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e99",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 309.048,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53306,
    "c": 0.19775,
    "h": 334.9
  },
  "luminance": 0.13025
}

Semantic roles & 50–950 ramp

primary
#AC2E99
secondary
#72C37F
accent
#E15E47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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