#AB41BC#AB41BC

#AB41BC is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.0% C 0.202 H 321.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AB41BC
RGBrgb(171, 65, 188)
HSLhsl(292, 49%, 50%)
HSVhsv(292, 65%, 74%)
CMYKcmyk(9%, 65.4%, 0%, 26.3%)
CIE-LABlab(47.07, 59.90, -44.74)
CIE-LCHlch(47.07, 74.77, 323.24°)
OKLaboklab(56.95% 0.1589 -0.1247)
OKLCHoklch(56.95% 0.202 321.9)
XYZxyz(27.7610, 16.0708, 49.2069)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41BC #52BC41
analogous
#6D41BC #AB41BC #BC4190
triadic
#AB41BC #BCAB41 #41BCAB
tetradic
#AB41BC #BC6D41 #52BC41 #4190BC
square
#AB41BC #BC6D41 #52BC41 #4190BC
split-complementary
#AB41BC #90BC41 #41BC6D
monochromatic
#582261 #82318F #AB41BC #C06ECD #D39BDC

Accessibility & contrast

On white

4.98
#AB41BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AB41BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41BC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41BC#FFFFFF#000000##FFFFFF
##AB41BC1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C0
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#AD5579
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab41bc;
/* rgb */ color: rgb(171, 65, 188);
/* oklch */ color: oklch(57.0% 0.202 321.9);
Tailwind
colors: {
  custom: {
    50: '#c77dd1',
    500: '#ab41bc',
    950: '#000000',
  },
}
SCSS
$custom: #ab41bc;
$custom-light: #c77dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41bc",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 291.707,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.20202,
    "h": 321.9
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#AB41BC
secondary
#98C990
accent
#D85062
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AB41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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