#AB41D1#AB41D1

#AB41D1 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.2% C 0.221 H 315.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AB41D1
RGBrgb(171, 65, 209)
HSLhsl(284, 61%, 54%)
HSVhsv(284, 69%, 82%)
CMYKcmyk(18.2%, 68.9%, 0%, 18%)
CIE-LABlab(48.31, 63.94, -54.89)
CIE-LCHlch(48.31, 84.27, 319.35°)
OKLaboklab(58.25% 0.1581 -0.1544)
OKLCHoklch(58.25% 0.221 315.7)
XYZxyz(30.1917, 17.0431, 62.0085)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41D1 #67D141
analogous
#6341D1 #AB41D1 #D141AF
triadic
#AB41D1 #D1AB41 #41D1AB
tetradic
#AB41D1 #D16341 #67D141 #41AFD1
square
#AB41D1 #D16341 #67D141 #41AFD1
split-complementary
#AB41D1 #AFD141 #41D163
monochromatic
#621E7A #8929AB #AB41D1 #C172DD #D7A4E9

Accessibility & contrast

On white

4.76
#AB41D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AB41D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41D1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41D1#FFFFFF#000000##FFFFFF
##AB41D11.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#3F76CE
Tritanopia (blue-blind)
#A85E84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab41d1;
/* rgb */ color: rgb(171, 65, 209);
/* oklch */ color: oklch(58.2% 0.221 315.7);
Tailwind
colors: {
  custom: {
    50: '#c87ee0',
    500: '#ab41d1',
    950: '#000000',
  },
}
SCSS
$custom: #ab41d1;
$custom-light: #c87ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41d1",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 284.167,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58248,
    "c": 0.22099,
    "h": 315.7
  },
  "luminance": 0.17042
}

Semantic roles & 50–950 ramp

primary
#AB41D1
secondary
#A8D698
accent
#E4446E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB41D1

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

Preview Lab → · Contrast checker → · Palette generator →

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