#AB41D8#AB41D8

#AB41D8 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.227 H 313.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AB41D8
RGBrgb(171, 65, 216)
HSLhsl(282, 66%, 55%)
HSVhsv(282, 70%, 85%)
CMYKcmyk(20.8%, 69.9%, 0%, 15.3%)
CIE-LABlab(48.76, 65.34, -58.19)
CIE-LCHlch(48.76, 87.49, 318.31°)
OKLaboklab(58.71% 0.1575 -0.1641)
OKLCHoklch(58.71% 0.227 313.8)
XYZxyz(31.0774, 17.3974, 66.6734)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41D8 #6ED841
analogous
#5F41D8 #AB41D8 #D841BA
triadic
#AB41D8 #D8AB41 #41D8AB
tetradic
#AB41D8 #D85F41 #6ED841 #41BAD8
square
#AB41D8 #D85F41 #6ED841 #41BAD8
split-complementary
#AB41D8 #BAD841 #41D85F
monochromatic
#641B84 #8B25B6 #AB41D8 #C174E2 #D8A7ED

Accessibility & contrast

On white

4.69
#AB41D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AB41D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41D8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41D8#FFFFFF#000000##FFFFFF
##AB41D81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#3776D5
Tritanopia (blue-blind)
#A76188
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab41d8;
/* rgb */ color: rgb(171, 65, 216);
/* oklch */ color: oklch(58.7% 0.227 313.8);
Tailwind
colors: {
  custom: {
    50: '#c87ee5',
    500: '#ab41d8',
    950: '#000000',
  },
}
SCSS
$custom: #ab41d8;
$custom-light: #c87ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41d8",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 282.119,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58705,
    "c": 0.22742,
    "h": 313.8
  },
  "luminance": 0.17396
}

Semantic roles & 50–950 ramp

primary
#AB41D8
secondary
#AEDA9B
accent
#E93F72
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB41D8

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

Preview Lab → · Contrast checker → · Palette generator →

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