#AB41A3#AB41A3

#AB41A3 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.181 H 330.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AB41A3
RGBrgb(171, 65, 163)
HSLhsl(305, 45%, 46%)
HSVhsv(305, 62%, 67%)
CMYKcmyk(0%, 62%, 4.7%, 32.9%)
CIE-LABlab(45.75, 55.45, -32.12)
CIE-LCHlch(45.75, 64.08, 329.92°)
OKLaboklab(55.57% 0.1576 -0.0882)
OKLCHoklch(55.57% 0.181 330.8)
XYZxyz(25.2956, 15.0847, 36.2225)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41A3 #41AB49
analogous
#7E41AB #AB41A3 #AB416E
triadic
#AB41A3 #A3AB41 #41A3AB
tetradic
#AB41A3 #AB7E41 #41AB49 #416EAB
square
#AB41A3 #AB7E41 #41AB49 #416EAB
split-complementary
#AB41A3 #6EAB41 #41AB7E
monochromatic
#521F4E #7F3079 #AB41A3 #C465BD #D591D0

Accessibility & contrast

On white

5.23
#AB41A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AB41A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41A3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41A3#FFFFFF#000000##FFFFFF
##AB41A31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A6
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#B14C6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab41a3;
/* rgb */ color: rgb(171, 65, 163);
/* oklch */ color: oklch(55.6% 0.181 330.8);
Tailwind
colors: {
  custom: {
    50: '#c77dbe',
    500: '#ab41a3',
    950: '#000000',
  },
}
SCSS
$custom: #ab41a3;
$custom-light: #c77dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41a3",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 304.528,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55571,
    "c": 0.18055,
    "h": 330.8
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#AB41A3
secondary
#87C18C
accent
#D55D53
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB41A3

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

Preview Lab → · Contrast checker → · Palette generator →

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