#AB41D0#AB41D0

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

Color values

HEX#AB41D0
RGBrgb(171, 65, 208)
HSLhsl(284, 60%, 54%)
HSVhsv(284, 69%, 82%)
CMYKcmyk(17.8%, 68.8%, 0%, 18.4%)
CIE-LABlab(48.25, 63.74, -54.42)
CIE-LCHlch(48.25, 83.81, 319.51°)
OKLaboklab(58.18% 0.1582 -0.153)
OKLCHoklch(58.18% 0.22 316)
XYZxyz(30.0683, 16.9937, 61.3585)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41D0 #66D041
analogous
#6341D0 #AB41D0 #D041AD
triadic
#AB41D0 #D0AB41 #41D0AB
tetradic
#AB41D0 #D06341 #66D041 #41ADD0
square
#AB41D0 #D06341 #66D041 #41ADD0
split-complementary
#AB41D0 #ADD041 #41D063
monochromatic
#611E79 #892AAA #AB41D0 #C172DC #D6A3E8

Accessibility & contrast

On white

4.77
#AB41D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AB41D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41D0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41D0#FFFFFF#000000##FFFFFF
##AB41D01.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#4075CD
Tritanopia (blue-blind)
#A95D84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab41d0;
/* rgb */ color: rgb(171, 65, 208);
/* oklch */ color: oklch(58.2% 0.220 316.0);
Tailwind
colors: {
  custom: {
    50: '#c87edf',
    500: '#ab41d0',
    950: '#000000',
  },
}
SCSS
$custom: #ab41d0;
$custom-light: #c87edf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41d0",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 208
  },
  "hsl": {
    "h": 284.476,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58184,
    "c": 0.22008,
    "h": 316
  },
  "luminance": 0.16993
}

Semantic roles & 50–950 ramp

primary
#AB41D0
secondary
#A8D598
accent
#E3446E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB41D0

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

Preview Lab → · Contrast checker → · Palette generator →

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