#AB41C3#AB41C3

#AB41C3 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.4% C 0.208 H 319.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB41C3
RGBrgb(171, 65, 195)
HSLhsl(289, 52%, 51%)
HSVhsv(289, 67%, 76%)
CMYKcmyk(12.3%, 66.7%, 0%, 23.5%)
CIE-LABlab(47.47, 61.22, -48.17)
CIE-LCHlch(47.47, 77.90, 321.80°)
OKLaboklab(57.37% 0.1588 -0.1347)
OKLCHoklch(57.37% 0.208 319.7)
XYZxyz(28.5340, 16.3800, 53.2778)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41C3 #59C341
analogous
#6A41C3 #AB41C3 #C3419A
triadic
#AB41C3 #C3AB41 #41C3AB
tetradic
#AB41C3 #C36A41 #59C341 #419AC3
square
#AB41C3 #C36A41 #59C341 #419AC3
split-complementary
#AB41C3 #9AC341 #41C36A
monochromatic
#5B2169 #843097 #AB41C3 #C070D2 #D49EE0

Accessibility & contrast

On white

4.91
#AB41C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AB41C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41C3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41C3#FFFFFF#000000##FFFFFF
##AB41C31.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1269C7
Deuteranopia (green-blind)
#4B74C0
Tritanopia (blue-blind)
#AB587D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab41c3;
/* rgb */ color: rgb(171, 65, 195);
/* oklch */ color: oklch(57.4% 0.208 319.7);
Tailwind
colors: {
  custom: {
    50: '#c77ed6',
    500: '#ab41c3',
    950: '#000000',
  },
}
SCSS
$custom: #ab41c3;
$custom-light: #c77ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41c3",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 288.923,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57371,
    "c": 0.20828,
    "h": 319.7
  },
  "luminance": 0.16379
}

Semantic roles & 50–950 ramp

primary
#AB41C3
secondary
#9ECD93
accent
#DB4C67
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AB41C3

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

Preview Lab → · Contrast checker → · Palette generator →

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