#AB41D3#AB41D3

#AB41D3 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.223 H 315.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB41D3
RGBrgb(171, 65, 211)
HSLhsl(284, 62%, 54%)
HSVhsv(284, 69%, 83%)
CMYKcmyk(19%, 69.2%, 0%, 17.3%)
CIE-LABlab(48.44, 64.34, -55.84)
CIE-LCHlch(48.44, 85.19, 319.05°)
OKLaboklab(58.38% 0.158 -0.1572)
OKLCHoklch(58.38% 0.223 315.1)
XYZxyz(30.4409, 17.1428, 63.3208)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41D3 #69D341
analogous
#6241D3 #AB41D3 #D341B2
triadic
#AB41D3 #D3AB41 #41D3AB
tetradic
#AB41D3 #D36241 #69D341 #41B2D3
square
#AB41D3 #D36241 #69D341 #41B2D3
split-complementary
#AB41D3 #B2D341 #41D362
monochromatic
#621D7D #8A28AE #AB41D3 #C173DF #D7A4EA

Accessibility & contrast

On white

4.74
#AB41D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AB41D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41D3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41D3#FFFFFF#000000##FFFFFF
##AB41D31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#3D76D0
Tritanopia (blue-blind)
#A85F85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab41d3;
/* rgb */ color: rgb(171, 65, 211);
/* oklch */ color: oklch(58.4% 0.223 315.1);
Tailwind
colors: {
  custom: {
    50: '#c87ee1',
    500: '#ab41d3',
    950: '#000000',
  },
}
SCSS
$custom: #ab41d3;
$custom-light: #c87ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41d3",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 283.562,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58377,
    "c": 0.22282,
    "h": 315.1
  },
  "luminance": 0.17142
}

Semantic roles & 50–950 ramp

primary
#AB41D3
secondary
#AAD799
accent
#E5426F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB41D3

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

Preview Lab → · Contrast checker → · Palette generator →

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