#AB419E#AB419E

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

Color values

HEX#AB419E
RGBrgb(171, 65, 158)
HSLhsl(307, 45%, 46%)
HSVhsv(307, 62%, 67%)
CMYKcmyk(0%, 62%, 7.6%, 32.9%)
CIE-LABlab(45.51, 54.62, -29.52)
CIE-LCHlch(45.51, 62.08, 331.61°)
OKLaboklab(55.32% 0.157 -0.0807)
OKLCHoklch(55.32% 0.176 332.8)
XYZxyz(24.8565, 14.9090, 33.9097)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB419E #41AB4E
analogous
#8341AB #AB419E #AB4169
triadic
#AB419E #9EAB41 #419EAB
tetradic
#AB419E #AB8341 #41AB4E #4169AB
square
#AB419E #AB8341 #41AB4E #4169AB
split-complementary
#AB419E #69AB41 #41AB83
monochromatic
#521F4C #7F3075 #AB419E #C465B9 #D591CD

Accessibility & contrast

On white

5.27
#AB419E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AB419E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB419E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB419E#FFFFFF#000000##FFFFFF
##AB419E1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E62A1
Deuteranopia (green-blind)
#60719B
Tritanopia (blue-blind)
#B24A69
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab419e;
/* rgb */ color: rgb(171, 65, 158);
/* oklch */ color: oklch(55.3% 0.176 332.8);
Tailwind
colors: {
  custom: {
    50: '#c77cbb',
    500: '#ab419e',
    950: '#000000',
  },
}
SCSS
$custom: #ab419e;
$custom-light: #c77cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab419e",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 307.358,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55317,
    "c": 0.17649,
    "h": 332.8
  },
  "luminance": 0.14907
}

Semantic roles & 50–950 ramp

primary
#AB419E
secondary
#87C18E
accent
#D56353
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB419E

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

Preview Lab → · Contrast checker → · Palette generator →

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