#AC1F9E#AC1F9E

#AC1F9E is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.216 H 332.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AC1F9E
RGBrgb(172, 31, 158)
HSLhsl(306, 69%, 40%)
HSVhsv(306, 82%, 67%)
CMYKcmyk(0%, 82%, 8.1%, 32.5%)
CIE-LABlab(41.57, 66.47, -35.70)
CIE-LCHlch(41.57, 75.45, 331.76°)
OKLaboklab(52.5% 0.1919 -0.0982)
OKLCHoklch(52.5% 0.216 332.9)
XYZxyz(23.6750, 12.2213, 33.4532)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1F9E #1FAC2D
analogous
#731FAC #AC1F9E #AC1F58
triadic
#AC1F9E #9EAC1F #1F9EAC
tetradic
#AC1F9E #AC731F #1FAC2D #1F58AC
square
#AC1F9E #AC731F #1FAC2D #1F58AC
split-complementary
#AC1F9E #58AC1F #1FAC73
monochromatic
#440C3F #78166E #AC1F9E #D92FC9 #E363D6

Accessibility & contrast

On white

6.10
#AC1F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AC1F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1F9E
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1F9E#FFFFFF#000000##FFFFFF
##AC1F9E1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1455A1
Deuteranopia (green-blind)
#52699B
Tritanopia (blue-blind)
#B4315F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac1f9e;
/* rgb */ color: rgb(172, 31, 158);
/* oklch */ color: oklch(52.5% 0.216 332.9);
Tailwind
colors: {
  custom: {
    50: '#c96ebb',
    500: '#ac1f9e',
    950: '#000000',
  },
}
SCSS
$custom: #ac1f9e;
$custom-light: #c96ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1f9e",
  "rgb": {
    "r": 172,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 305.957,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52503,
    "c": 0.21557,
    "h": 332.9
  },
  "luminance": 0.12219
}

Semantic roles & 50–950 ramp

primary
#AC1F9E
secondary
#5FC869
accent
#EC4D3C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC1F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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