#AB41C0#AB41C0

#AB41C0 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.206 H 320.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AB41C0
RGBrgb(171, 65, 192)
HSLhsl(290, 50%, 50%)
HSVhsv(290, 66%, 75%)
CMYKcmyk(10.9%, 66.1%, 0%, 24.7%)
CIE-LABlab(47.30, 60.65, -46.71)
CIE-LCHlch(47.30, 76.55, 322.40°)
OKLaboklab(57.19% 0.1589 -0.1305)
OKLCHoklch(57.19% 0.206 320.6)
XYZxyz(28.1982, 16.2457, 51.5094)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41C0 #56C041
analogous
#6B41C0 #AB41C0 #C04195
triadic
#AB41C0 #C0AB41 #41C0AB
tetradic
#AB41C0 #C06B41 #56C041 #4195C0
square
#AB41C0 #C06B41 #56C041 #4195C0
split-complementary
#AB41C0 #95C041 #41C06B
monochromatic
#5A2265 #833193 #AB41C0 #BF6FCF #D49DDE

Accessibility & contrast

On white

4.94
#AB41C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AB41C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41C0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41C0#FFFFFF#000000##FFFFFF
##AB41C01.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1969C4
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#AC577B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab41c0;
/* rgb */ color: rgb(171, 65, 192);
/* oklch */ color: oklch(57.2% 0.206 320.6);
Tailwind
colors: {
  custom: {
    50: '#c77dd3',
    500: '#ab41c0',
    950: '#000000',
  },
}
SCSS
$custom: #ab41c0;
$custom-light: #c77dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41c0",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 290.079,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5719,
    "c": 0.20559,
    "h": 320.6
  },
  "luminance": 0.16244
}

Semantic roles & 50–950 ramp

primary
#AB41C0
secondary
#9BCB92
accent
#DA4E65
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AB41C0

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

Preview Lab → · Contrast checker → · Palette generator →

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