#AB41B1#AB41B1

#AB41B1 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.192 H 325.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AB41B1
RGBrgb(171, 65, 177)
HSLhsl(297, 46%, 47%)
HSVhsv(297, 63%, 69%)
CMYKcmyk(3.4%, 63.3%, 0%, 30.6%)
CIE-LABlab(46.46, 57.89, -39.26)
CIE-LCHlch(46.46, 69.95, 325.85°)
OKLaboklab(56.32% 0.1587 -0.1088)
OKLCHoklch(56.32% 0.192 325.6)
XYZxyz(26.6201, 15.6145, 43.1982)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41B1 #47B141
analogous
#7341B1 #AB41B1 #B1417F
triadic
#AB41B1 #B1AB41 #41B1AB
tetradic
#AB41B1 #B17341 #47B141 #417FB1
square
#AB41B1 #B17341 #47B141 #417FB1
split-complementary
#AB41B1 #7FB141 #41B173
monochromatic
#552057 #803184 #AB41B1 #C268C7 #D495D8

Accessibility & contrast

On white

5.09
#AB41B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AB41B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41B1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41B1#FFFFFF#000000##FFFFFF
##AB41B11.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B4
Deuteranopia (green-blind)
#5773AE
Tritanopia (blue-blind)
#AF5173
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab41b1;
/* rgb */ color: rgb(171, 65, 177);
/* oklch */ color: oklch(56.3% 0.192 325.6);
Tailwind
colors: {
  custom: {
    50: '#c77dc9',
    500: '#ab41b1',
    950: '#000000',
  },
}
SCSS
$custom: #ab41b1;
$custom-light: #c77dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41b1",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 296.786,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56322,
    "c": 0.19237,
    "h": 325.6
  },
  "luminance": 0.15613
}

Semantic roles & 50–950 ramp

primary
#AB41B1
secondary
#8DC38A
accent
#D65259
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB41B1

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

Preview Lab → · Contrast checker → · Palette generator →

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