#AB41BB#AB41BB

#AB41BB is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.9% C 0.201 H 322.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AB41BB
RGBrgb(171, 65, 187)
HSLhsl(292, 48%, 49%)
HSVhsv(292, 65%, 73%)
CMYKcmyk(8.6%, 65.2%, 0%, 26.7%)
CIE-LABlab(47.01, 59.72, -44.25)
CIE-LCHlch(47.01, 74.32, 323.46°)
OKLaboklab(56.89% 0.1589 -0.1233)
OKLCHoklch(56.89% 0.201 322.2)
XYZxyz(27.6536, 16.0279, 48.6412)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41BB #51BB41
analogous
#6E41BB #AB41BB #BB418E
triadic
#AB41BB #BBAB41 #41BBAB
tetradic
#AB41BB #BB6E41 #51BB41 #418EBB
square
#AB41BB #BB6E41 #51BB41 #418EBB
split-complementary
#AB41BB #8EBB41 #41BB6E
monochromatic
#582160 #81318E #AB41BB #C06DCC #D39ADC

Accessibility & contrast

On white

4.99
#AB41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB41BB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41BB#FFFFFF#000000##FFFFFF
##AB41BB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#AD5578
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab41bb;
/* rgb */ color: rgb(171, 65, 187);
/* oklch */ color: oklch(56.9% 0.201 322.2);
Tailwind
colors: {
  custom: {
    50: '#c77dd0',
    500: '#ab41bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab41bb;
$custom-light: #c77dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41bb",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 292.131,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.20114,
    "h": 322.2
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

primary
#AB41BB
secondary
#97C890
accent
#D85062
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AB41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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