#AB41D6#AB41D6

#AB41D6 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.226 H 314.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AB41D6
RGBrgb(171, 65, 214)
HSLhsl(283, 65%, 55%)
HSVhsv(283, 70%, 84%)
CMYKcmyk(20.1%, 69.6%, 0%, 16.1%)
CIE-LABlab(48.63, 64.93, -57.25)
CIE-LCHlch(48.63, 86.57, 318.60°)
OKLaboklab(58.57% 0.1577 -0.1613)
OKLCHoklch(58.57% 0.226 314.3)
XYZxyz(30.8204, 17.2946, 65.3200)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41D6 #6CD641
analogous
#6141D6 #AB41D6 #D641B6
triadic
#AB41D6 #D6AB41 #41D6AB
tetradic
#AB41D6 #D66141 #6CD641 #41B6D6
square
#AB41D6 #D66141 #6CD641 #41B6D6
split-complementary
#AB41D6 #B6D641 #41D661
monochromatic
#641C81 #8B27B3 #AB41D6 #C173E1 #D8A6EC

Accessibility & contrast

On white

4.71
#AB41D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AB41D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41D6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41D6#FFFFFF#000000##FFFFFF
##AB41D61.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#3A76D3
Tritanopia (blue-blind)
#A76087
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab41d6;
/* rgb */ color: rgb(171, 65, 214);
/* oklch */ color: oklch(58.6% 0.226 314.3);
Tailwind
colors: {
  custom: {
    50: '#c87ee3',
    500: '#ab41d6',
    950: '#000000',
  },
}
SCSS
$custom: #ab41d6;
$custom-light: #c87ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41d6",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 282.685,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58573,
    "c": 0.22558,
    "h": 314.3
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#AB41D6
secondary
#ACD99A
accent
#E74071
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB41D6

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

Preview Lab → · Contrast checker → · Palette generator →

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