#AB41CF#AB41CF

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

Color values

HEX#AB41CF
RGBrgb(171, 65, 207)
HSLhsl(285, 60%, 53%)
HSVhsv(285, 69%, 81%)
CMYKcmyk(17.4%, 68.6%, 0%, 18.8%)
CIE-LABlab(48.19, 63.54, -53.94)
CIE-LCHlch(48.19, 83.35, 319.67°)
OKLaboklab(58.12% 0.1583 -0.1516)
OKLCHoklch(58.12% 0.219 316.2)
XYZxyz(29.9456, 16.9447, 60.7126)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41CF #65CF41
analogous
#6441CF #AB41CF #CF41AC
triadic
#AB41CF #CFAB41 #41CFAB
tetradic
#AB41CF #CF6441 #65CF41 #41ACCF
square
#AB41CF #CF6441 #65CF41 #41ACCF
split-complementary
#AB41CF #ACCF41 #41CF64
monochromatic
#611E77 #882BA8 #AB41CF #C172DB #D6A3E8

Accessibility & contrast

On white

4.78
#AB41CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AB41CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41CF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41CF#FFFFFF#000000##FFFFFF
##AB41CF1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#4175CC
Tritanopia (blue-blind)
#A95D83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab41cf;
/* rgb */ color: rgb(171, 65, 207);
/* oklch */ color: oklch(58.1% 0.219 316.2);
Tailwind
colors: {
  custom: {
    50: '#c87ede',
    500: '#ab41cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab41cf;
$custom-light: #c87ede;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41cf",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 284.789,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5812,
    "c": 0.21917,
    "h": 316.2
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#AB41CF
secondary
#A7D497
accent
#E3456D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AB41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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