#AC1F96#AC1F96

#AC1F96 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.210 H 335.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AC1F96
RGBrgb(172, 31, 150)
HSLhsl(309, 69%, 40%)
HSVhsv(309, 82%, 67%)
CMYKcmyk(0%, 82%, 12.8%, 32.5%)
CIE-LABlab(41.14, 65.31, -31.54)
CIE-LCHlch(41.14, 72.52, 334.22°)
OKLaboklab(52.07% 0.1916 -0.0862)
OKLCHoklch(52.07% 0.21 335.8)
XYZxyz(23.0087, 11.9548, 29.9440)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1F96 #1FAC35
analogous
#7C1FAC #AC1F96 #AC1F4F
triadic
#AC1F96 #96AC1F #1F96AC
tetradic
#AC1F96 #AC7C1F #1FAC35 #1F4FAC
square
#AC1F96 #AC7C1F #1FAC35 #1F4FAC
split-complementary
#AC1F96 #4FAC1F #1FAC7C
monochromatic
#440C3C #781669 #AC1F96 #D92FBF #E363CF

Accessibility & contrast

On white

6.19
#AC1F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC1F96
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1F96#FFFFFF#000000##FFFFFF
##AC1F961.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205499
Deuteranopia (green-blind)
#566893
Tritanopia (blue-blind)
#B52C5B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac1f96;
/* rgb */ color: rgb(172, 31, 150);
/* oklch */ color: oklch(52.1% 0.210 335.8);
Tailwind
colors: {
  custom: {
    50: '#c96eb5',
    500: '#ac1f96',
    950: '#000000',
  },
}
SCSS
$custom: #ac1f96;
$custom-light: #c96eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1f96",
  "rgb": {
    "r": 172,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 309.362,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52065,
    "c": 0.21012,
    "h": 335.8
  },
  "luminance": 0.11953
}

Semantic roles & 50–950 ramp

primary
#AC1F96
secondary
#5FC86F
accent
#EC573C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC1F96

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

Preview Lab → · Contrast checker → · Palette generator →

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