#AB41BA#AB41BA

#AB41BA is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.8% C 0.200 H 322.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AB41BA
RGBrgb(171, 65, 186)
HSLhsl(293, 48%, 49%)
HSVhsv(293, 65%, 73%)
CMYKcmyk(8.1%, 65.1%, 0%, 27.1%)
CIE-LABlab(46.96, 59.53, -43.76)
CIE-LCHlch(46.96, 73.88, 323.68°)
OKLaboklab(56.84% 0.1589 -0.1218)
OKLCHoklch(56.84% 0.2 322.5)
XYZxyz(27.5469, 15.9852, 48.0793)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41BA #50BA41
analogous
#6F41BA #AB41BA #BA418D
triadic
#AB41BA #BAAB41 #41BAAB
tetradic
#AB41BA #BA6F41 #50BA41 #418DBA
square
#AB41BA #BA6F41 #50BA41 #418DBA
split-complementary
#AB41BA #8DBA41 #41BA6F
monochromatic
#58215F #81318D #AB41BA #C06CCC #D39ADC

Accessibility & contrast

On white

5.00
#AB41BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AB41BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41BA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41BA#FFFFFF#000000##FFFFFF
##AB41BA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2367BE
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#AD5578
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab41ba;
/* rgb */ color: rgb(171, 65, 186);
/* oklch */ color: oklch(56.8% 0.200 322.5);
Tailwind
colors: {
  custom: {
    50: '#c77dcf',
    500: '#ab41ba',
    950: '#000000',
  },
}
SCSS
$custom: #ab41ba;
$custom-light: #c77dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41ba",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 292.562,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56835,
    "c": 0.20025,
    "h": 322.5
  },
  "luminance": 0.15984
}

Semantic roles & 50–950 ramp

primary
#AB41BA
secondary
#96C88F
accent
#D85061
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AB41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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