#AC1E9B#AC1E9B

#AC1E9B is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.214 H 334.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AC1E9B
RGBrgb(172, 30, 155)
HSLhsl(307, 70%, 40%)
HSVhsv(307, 83%, 67%)
CMYKcmyk(0%, 82.6%, 9.9%, 32.5%)
CIE-LABlab(41.32, 66.26, -34.28)
CIE-LCHlch(41.32, 74.60, 332.65°)
OKLaboklab(52.28% 0.1925 -0.0941)
OKLCHoklch(52.28% 0.214 334)
XYZxyz(23.3942, 12.0679, 32.1012)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1E9B #1EAC2F
analogous
#761EAC #AC1E9B #AC1E54
triadic
#AC1E9B #9BAC1E #1E9BAC
tetradic
#AC1E9B #AC761E #1EAC2F #1E54AC
square
#AC1E9B #AC761E #1EAC2F #1E54AC
split-complementary
#AC1E9B #54AC1E #1EAC76
monochromatic
#440C3D #78156C #AC1E9B #DA2DC6 #E361D4

Accessibility & contrast

On white

6.15
#AC1E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AC1E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1E9B
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1E9B#FFFFFF#000000##FFFFFF
##AC1E9B1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559E
Deuteranopia (green-blind)
#546898
Tritanopia (blue-blind)
#B42F5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac1e9b;
/* rgb */ color: rgb(172, 30, 155);
/* oklch */ color: oklch(52.3% 0.214 334.0);
Tailwind
colors: {
  custom: {
    50: '#c96eb9',
    500: '#ac1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #ac1e9b;
$custom-light: #c96eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1e9b",
  "rgb": {
    "r": 172,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 307.183,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52278,
    "c": 0.21428,
    "h": 334
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#AC1E9B
secondary
#5EC86A
accent
#ED503B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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