#AB41CE#AB41CE

#AB41CE is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.218 H 316.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB41CE
RGBrgb(171, 65, 206)
HSLhsl(285, 59%, 53%)
HSVhsv(285, 68%, 81%)
CMYKcmyk(17%, 68.4%, 0%, 19.2%)
CIE-LABlab(48.13, 63.35, -53.47)
CIE-LCHlch(48.13, 82.90, 319.84°)
OKLaboklab(58.06% 0.1583 -0.1502)
OKLCHoklch(58.06% 0.218 316.5)
XYZxyz(29.8238, 16.8959, 60.0708)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41CE #64CE41
analogous
#6441CE #AB41CE #CE41AB
triadic
#AB41CE #CEAB41 #41CEAB
tetradic
#AB41CE #CE6441 #64CE41 #41ABCE
square
#AB41CE #CE6441 #64CE41 #41ABCE
split-complementary
#AB41CE #ABCE41 #41CE64
monochromatic
#601E76 #882BA7 #AB41CE #C172DB #D6A2E7

Accessibility & contrast

On white

4.80
#AB41CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AB41CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41CE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41CE#FFFFFF#000000##FFFFFF
##AB41CE1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#4275CB
Tritanopia (blue-blind)
#A95D83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab41ce;
/* rgb */ color: rgb(171, 65, 206);
/* oklch */ color: oklch(58.1% 0.218 316.5);
Tailwind
colors: {
  custom: {
    50: '#c87ede',
    500: '#ab41ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab41ce;
$custom-light: #c87ede;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41ce",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 285.106,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.21826,
    "h": 316.5
  },
  "luminance": 0.16895
}

Semantic roles & 50–950 ramp

primary
#AB41CE
secondary
#A6D497
accent
#E2466C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB41CE

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

Preview Lab → · Contrast checker → · Palette generator →

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