#AB41B7#AB41B7

#AB41B7 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.7% C 0.198 H 323.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AB41B7
RGBrgb(171, 65, 183)
HSLhsl(294, 48%, 49%)
HSVhsv(294, 64%, 72%)
CMYKcmyk(6.6%, 64.5%, 0%, 28.2%)
CIE-LABlab(46.79, 58.98, -42.27)
CIE-LCHlch(46.79, 72.56, 324.37°)
OKLaboklab(56.66% 0.1589 -0.1175)
OKLCHoklch(56.66% 0.198 323.5)
XYZxyz(27.2313, 15.8590, 46.4173)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41B7 #4DB741
analogous
#7041B7 #AB41B7 #B74188
triadic
#AB41B7 #B7AB41 #41B7AB
tetradic
#AB41B7 #B77041 #4DB741 #4188B7
square
#AB41B7 #B77041 #4DB741 #4188B7
split-complementary
#AB41B7 #88B741 #41B770
monochromatic
#57215D #81318A #AB41B7 #C16BCA #D498DA

Accessibility & contrast

On white

5.03
#AB41B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AB41B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41B7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41B7#FFFFFF#000000##FFFFFF
##AB41B71.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2767BB
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#AE5376
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab41b7;
/* rgb */ color: rgb(171, 65, 183);
/* oklch */ color: oklch(56.7% 0.198 323.5);
Tailwind
colors: {
  custom: {
    50: '#c77dcd',
    500: '#ab41b7',
    950: '#000000',
  },
}
SCSS
$custom: #ab41b7;
$custom-light: #c77dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41b7",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 293.898,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56661,
    "c": 0.1976,
    "h": 323.5
  },
  "luminance": 0.15857
}

Semantic roles & 50–950 ramp

primary
#AB41B7
secondary
#93C68E
accent
#D7515E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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