#AB41AA#AB41AA

#AB41AA is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.186 H 328.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AB41AA
RGBrgb(171, 65, 170)
HSLhsl(301, 45%, 46%)
HSVhsv(301, 62%, 67%)
CMYKcmyk(0%, 62%, 0.6%, 32.9%)
CIE-LABlab(46.10, 56.65, -35.71)
CIE-LCHlch(46.10, 66.97, 327.77°)
OKLaboklab(55.94% 0.1582 -0.0985)
OKLCHoklch(55.94% 0.186 328.1)
XYZxyz(25.9402, 15.3425, 39.6175)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41AA #41AB42
analogous
#7741AB #AB41AA #AB4175
triadic
#AB41AA #AAAB41 #41AAAB
tetradic
#AB41AA #AB7741 #41AB42 #4175AB
square
#AB41AA #AB7741 #41AB42 #4175AB
split-complementary
#AB41AA #75AB41 #41AB77
monochromatic
#521F52 #7F307E #AB41AA #C465C3 #D591D5

Accessibility & contrast

On white

5.16
#AB41AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AB41AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41AA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41AA#FFFFFF#000000##FFFFFF
##AB41AA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#5B72A7
Tritanopia (blue-blind)
#B04E70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab41aa;
/* rgb */ color: rgb(171, 65, 170);
/* oklch */ color: oklch(55.9% 0.186 328.1);
Tailwind
colors: {
  custom: {
    50: '#c77dc3',
    500: '#ab41aa',
    950: '#000000',
  },
}
SCSS
$custom: #ab41aa;
$custom-light: #c77dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41aa",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 300.566,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55939,
    "c": 0.18638,
    "h": 328.1
  },
  "luminance": 0.15341
}

Semantic roles & 50–950 ramp

primary
#AB41AA
secondary
#87C188
accent
#D55453
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB41AA

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

Preview Lab → · Contrast checker → · Palette generator →

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