#AC1E97#AC1E97

#AC1E97 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.212 H 335.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AC1E97
RGBrgb(172, 30, 151)
HSLhsl(309, 70%, 40%)
HSVhsv(309, 83%, 67%)
CMYKcmyk(0%, 82.6%, 12.2%, 32.5%)
CIE-LABlab(41.11, 65.69, -32.19)
CIE-LCHlch(41.11, 73.15, 333.89°)
OKLaboklab(52.06% 0.1924 -0.0881)
OKLCHoklch(52.06% 0.212 335.4)
XYZxyz(23.0638, 11.9357, 30.3613)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1E97 #1EAC33
analogous
#7A1EAC #AC1E97 #AC1E50
triadic
#AC1E97 #97AC1E #1E97AC
tetradic
#AC1E97 #AC7A1E #1EAC33 #1E50AC
square
#AC1E97 #AC7A1E #1EAC33 #1E50AC
split-complementary
#AC1E97 #50AC1E #1EAC7A
monochromatic
#440C3C #781569 #AC1E97 #DA2DC1 #E361D0

Accessibility & contrast

On white

6.20
#AC1E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AC1E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1E97
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1E97#FFFFFF#000000##FFFFFF
##AC1E971.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#566894
Tritanopia (blue-blind)
#B52C5B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac1e97;
/* rgb */ color: rgb(172, 30, 151);
/* oklch */ color: oklch(52.1% 0.212 335.4);
Tailwind
colors: {
  custom: {
    50: '#c96db6',
    500: '#ac1e97',
    950: '#000000',
  },
}
SCSS
$custom: #ac1e97;
$custom-light: #c96db6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1e97",
  "rgb": {
    "r": 172,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 308.873,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5206,
    "c": 0.21158,
    "h": 335.4
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#AC1E97
secondary
#5EC86D
accent
#ED553B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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