#AB41D4#AB41D4

#AB41D4 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.4% C 0.224 H 314.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AB41D4
RGBrgb(171, 65, 212)
HSLhsl(283, 63%, 54%)
HSVhsv(283, 69%, 83%)
CMYKcmyk(19.3%, 69.3%, 0%, 16.9%)
CIE-LABlab(48.50, 64.53, -56.31)
CIE-LCHlch(48.50, 85.65, 318.89°)
OKLaboklab(58.44% 0.1579 -0.1586)
OKLCHoklch(58.44% 0.224 314.9)
XYZxyz(30.5666, 17.1931, 63.9830)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41D4 #6AD441
analogous
#6241D4 #AB41D4 #D441B4
triadic
#AB41D4 #D4AB41 #41D4AB
tetradic
#AB41D4 #D46241 #6AD441 #41B4D4
square
#AB41D4 #D46241 #6AD441 #41B4D4
split-complementary
#AB41D4 #B4D441 #41D462
monochromatic
#631D7E #8A28B0 #AB41D4 #C173DF #D7A5EB

Accessibility & contrast

On white

4.73
#AB41D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AB41D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41D4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41D4#FFFFFF#000000##FFFFFF
##AB41D41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#3C76D1
Tritanopia (blue-blind)
#A85F86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab41d4;
/* rgb */ color: rgb(171, 65, 212);
/* oklch */ color: oklch(58.4% 0.224 314.9);
Tailwind
colors: {
  custom: {
    50: '#c87ee2',
    500: '#ab41d4',
    950: '#000000',
  },
}
SCSS
$custom: #ab41d4;
$custom-light: #c87ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41d4",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 283.265,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58443,
    "c": 0.22375,
    "h": 314.9
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#AB41D4
secondary
#ABD899
accent
#E64270
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB41D4

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

Preview Lab → · Contrast checker → · Palette generator →

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