#AB41A4#AB41A4

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

Color values

HEX#AB41A4
RGBrgb(171, 65, 164)
HSLhsl(304, 45%, 46%)
HSVhsv(304, 62%, 67%)
CMYKcmyk(0%, 62%, 4.1%, 32.9%)
CIE-LABlab(45.80, 55.62, -32.63)
CIE-LCHlch(45.80, 64.49, 329.60°)
OKLaboklab(55.62% 0.1577 -0.0896)
OKLCHoklch(55.62% 0.181 330.4)
XYZxyz(25.3856, 15.1206, 36.6963)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41A4 #41AB48
analogous
#7D41AB #AB41A4 #AB416F
triadic
#AB41A4 #A4AB41 #41A4AB
tetradic
#AB41A4 #AB7D41 #41AB48 #416FAB
square
#AB41A4 #AB7D41 #41AB48 #416FAB
split-complementary
#AB41A4 #6FAB41 #41AB7D
monochromatic
#521F4F #7F3079 #AB41A4 #C465BE #D591D1

Accessibility & contrast

On white

5.22
#AB41A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB41A4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41A4#FFFFFF#000000##FFFFFF
##AB41A41.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3963A7
Deuteranopia (green-blind)
#5D72A1
Tritanopia (blue-blind)
#B14C6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab41a4;
/* rgb */ color: rgb(171, 65, 164);
/* oklch */ color: oklch(55.6% 0.181 330.4);
Tailwind
colors: {
  custom: {
    50: '#c77dbf',
    500: '#ab41a4',
    950: '#000000',
  },
}
SCSS
$custom: #ab41a4;
$custom-light: #c77dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41a4",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 164
  },
  "hsl": {
    "h": 303.962,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55622,
    "c": 0.18137,
    "h": 330.4
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#AB41A4
secondary
#87C18B
accent
#D55C53
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB41A4

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

Preview Lab → · Contrast checker → · Palette generator →

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