#AB419D#AB419D

#AB419D is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.3% C 0.176 H 333.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB419D
RGBrgb(171, 65, 157)
HSLhsl(308, 45%, 46%)
HSVhsv(308, 62%, 67%)
CMYKcmyk(0%, 62%, 8.2%, 32.9%)
CIE-LABlab(45.46, 54.45, -28.99)
CIE-LCHlch(45.46, 61.69, 331.97°)
OKLaboklab(55.27% 0.1568 -0.0792)
OKLCHoklch(55.27% 0.176 333.2)
XYZxyz(24.7707, 14.8747, 33.4582)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB419D #41AB4F
analogous
#8441AB #AB419D #AB4168
triadic
#AB419D #9DAB41 #419DAB
tetradic
#AB419D #AB8441 #41AB4F #4168AB
square
#AB419D #AB8441 #41AB4F #4168AB
split-complementary
#AB419D #68AB41 #41AB84
monochromatic
#521F4C #7F3074 #AB419D #C465B8 #D591CC

Accessibility & contrast

On white

5.28
#AB419D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB419D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB419D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB419D#FFFFFF#000000##FFFFFF
##AB419D1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E62A0
Deuteranopia (green-blind)
#60719A
Tritanopia (blue-blind)
#B24969
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab419d;
/* rgb */ color: rgb(171, 65, 157);
/* oklch */ color: oklch(55.3% 0.176 333.2);
Tailwind
colors: {
  custom: {
    50: '#c77cba',
    500: '#ab419d',
    950: '#000000',
  },
}
SCSS
$custom: #ab419d;
$custom-light: #c77cba;
$custom-dark: #000000;
JSON
{
  "hex": "#ab419d",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 307.925,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55267,
    "c": 0.1757,
    "h": 333.2
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#AB419D
secondary
#87C18F
accent
#D56453
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB419D

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

Preview Lab → · Contrast checker → · Palette generator →

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