#AC1FB0#AC1FB0

#AC1FB0 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.6% C 0.228 H 326.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AC1FB0
RGBrgb(172, 31, 176)
HSLhsl(298, 70%, 41%)
HSVhsv(298, 82%, 69%)
CMYKcmyk(2.3%, 82.4%, 0%, 31%)
CIE-LABlab(42.59, 69.25, -44.82)
CIE-LCHlch(42.59, 82.49, 327.09°)
OKLaboklab(53.56% 0.1914 -0.1247)
OKLCHoklch(53.56% 0.228 326.9)
XYZxyz(25.3393, 12.8871, 42.2187)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1FB0 #23B01F
analogous
#631FB0 #AC1FB0 #B01F6B
triadic
#AC1FB0 #B0AC1F #1FB0AC
tetradic
#AC1FB0 #B0631F #23B01F #1F6BB0
square
#AC1FB0 #B0631F #23B01F #1F6BB0
split-complementary
#AC1FB0 #6BB01F #1FB063
monochromatic
#460D48 #79167C #AC1FB0 #D631DB #E065E4

Accessibility & contrast

On white

5.87
#AC1FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AC1FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1FB0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1FB0#FFFFFF#000000##FFFFFF
##AC1FB01.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#486AAD
Tritanopia (blue-blind)
#B13C6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac1fb0;
/* rgb */ color: rgb(172, 31, 176);
/* oklch */ color: oklch(53.6% 0.228 326.9);
Tailwind
colors: {
  custom: {
    50: '#c96fc8',
    500: '#ac1fb0',
    950: '#000000',
  },
}
SCSS
$custom: #ac1fb0;
$custom-light: #c96fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1fb0",
  "rgb": {
    "r": 172,
    "g": 31,
    "b": 176
  },
  "hsl": {
    "h": 298.345,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.22839,
    "h": 326.9
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#AC1FB0
secondary
#64C962
accent
#ED3B40
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140813
muted
#827B82

Preview Lab

Preview with #AC1FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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