#AB41C1#AB41C1

#AB41C1 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.206 H 320.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AB41C1
RGBrgb(171, 65, 193)
HSLhsl(290, 51%, 51%)
HSVhsv(290, 66%, 76%)
CMYKcmyk(11.4%, 66.3%, 0%, 24.3%)
CIE-LABlab(47.35, 60.84, -47.20)
CIE-LCHlch(47.35, 77.00, 322.20°)
OKLaboklab(57.25% 0.1589 -0.1319)
OKLCHoklch(57.25% 0.206 320.3)
XYZxyz(28.3094, 16.2902, 52.0949)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41C1 #57C141
analogous
#6B41C1 #AB41C1 #C14197
triadic
#AB41C1 #C1AB41 #41C1AB
tetradic
#AB41C1 #C16B41 #57C141 #4197C1
square
#AB41C1 #C16B41 #57C141 #4197C1
split-complementary
#AB41C1 #97C141 #41C16B
monochromatic
#5A2166 #833094 #AB41C1 #BF6FD0 #D49DDF

Accessibility & contrast

On white

4.93
#AB41C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AB41C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41C1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41C1#FFFFFF#000000##FFFFFF
##AB41C11.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1769C5
Deuteranopia (green-blind)
#4D74BE
Tritanopia (blue-blind)
#AC577C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab41c1;
/* rgb */ color: rgb(171, 65, 193);
/* oklch */ color: oklch(57.3% 0.206 320.3);
Tailwind
colors: {
  custom: {
    50: '#c77ed4',
    500: '#ab41c1',
    950: '#000000',
  },
}
SCSS
$custom: #ab41c1;
$custom-light: #c77ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41c1",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 289.688,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.20649,
    "h": 320.3
  },
  "luminance": 0.16289
}

Semantic roles & 50–950 ramp

primary
#AB41C1
secondary
#9CCB92
accent
#DA4E66
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AB41C1

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

Preview Lab → · Contrast checker → · Palette generator →

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