#AC1E9C#AC1E9C

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

Color values

HEX#AC1E9C
RGBrgb(172, 30, 156)
HSLhsl(307, 70%, 40%)
HSVhsv(307, 83%, 67%)
CMYKcmyk(0%, 82.6%, 9.3%, 32.5%)
CIE-LABlab(41.38, 66.41, -34.80)
CIE-LCHlch(41.38, 74.97, 332.35°)
OKLaboklab(52.33% 0.1926 -0.0956)
OKLCHoklch(52.33% 0.215 333.6)
XYZxyz(23.4785, 12.1016, 32.5454)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1E9C #1EAC2E
analogous
#751EAC #AC1E9C #AC1E55
triadic
#AC1E9C #9CAC1E #1E9CAC
tetradic
#AC1E9C #AC751E #1EAC2E #1E55AC
square
#AC1E9C #AC751E #1EAC2E #1E55AC
split-complementary
#AC1E9C #55AC1E #1EAC75
monochromatic
#440C3D #78156D #AC1E9C #DA2DC7 #E361D5

Accessibility & contrast

On white

6.14
#AC1E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AC1E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1E9C
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1E9C#FFFFFF#000000##FFFFFF
##AC1E9C1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17559F
Deuteranopia (green-blind)
#536999
Tritanopia (blue-blind)
#B42F5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac1e9c;
/* rgb */ color: rgb(172, 30, 156);
/* oklch */ color: oklch(52.3% 0.215 333.6);
Tailwind
colors: {
  custom: {
    50: '#c96eb9',
    500: '#ac1e9c',
    950: '#000000',
  },
}
SCSS
$custom: #ac1e9c;
$custom-light: #c96eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1e9c",
  "rgb": {
    "r": 172,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 306.761,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52334,
    "c": 0.21497,
    "h": 333.6
  },
  "luminance": 0.121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC1E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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