#AB41B4#AB41B4

#AB41B4 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.5% C 0.195 H 324.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AB41B4
RGBrgb(171, 65, 180)
HSLhsl(295, 47%, 48%)
HSVhsv(295, 64%, 71%)
CMYKcmyk(5%, 63.9%, 0%, 29.4%)
CIE-LABlab(46.63, 58.43, -40.77)
CIE-LCHlch(46.63, 71.25, 325.10°)
OKLaboklab(56.49% 0.1588 -0.1132)
OKLCHoklch(56.49% 0.195 324.5)
XYZxyz(26.9224, 15.7354, 44.7903)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41B4 #4AB441
analogous
#7141B4 #AB41B4 #B44184
triadic
#AB41B4 #B4AB41 #41B4AB
tetradic
#AB41B4 #B47141 #4AB441 #4184B4
square
#AB41B4 #B47141 #4AB441 #4184B4
split-complementary
#AB41B4 #84B441 #41B471
monochromatic
#56215A #803187 #AB41B4 #C169C9 #D496D9

Accessibility & contrast

On white

5.06
#AB41B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AB41B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41B4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41B4#FFFFFF#000000##FFFFFF
##AB41B41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B66B7
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#AE5275
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab41b4;
/* rgb */ color: rgb(171, 65, 180);
/* oklch */ color: oklch(56.5% 0.195 324.5);
Tailwind
colors: {
  custom: {
    50: '#c77dcb',
    500: '#ab41b4',
    950: '#000000',
  },
}
SCSS
$custom: #ab41b4;
$custom-light: #c77dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41b4",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 295.304,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5649,
    "c": 0.19497,
    "h": 324.5
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#AB41B4
secondary
#90C58C
accent
#D7515C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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