#AB41D7#AB41D7

#AB41D7 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.227 H 314.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AB41D7
RGBrgb(171, 65, 215)
HSLhsl(282, 65%, 55%)
HSVhsv(282, 70%, 84%)
CMYKcmyk(20.5%, 69.8%, 0%, 15.7%)
CIE-LABlab(48.69, 65.13, -57.72)
CIE-LCHlch(48.69, 87.03, 318.46°)
OKLaboklab(58.64% 0.1576 -0.1627)
OKLCHoklch(58.64% 0.227 314.1)
XYZxyz(30.9485, 17.3458, 65.9946)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41D7 #6DD741
analogous
#6041D7 #AB41D7 #D741B8
triadic
#AB41D7 #D7AB41 #41D7AB
tetradic
#AB41D7 #D76041 #6DD741 #41B8D7
square
#AB41D7 #D76041 #6DD741 #41B8D7
split-complementary
#AB41D7 #B8D741 #41D760
monochromatic
#641B82 #8B26B5 #AB41D7 #C174E2 #D8A6EC

Accessibility & contrast

On white

4.70
#AB41D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AB41D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41D7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41D7#FFFFFF#000000##FFFFFF
##AB41D71.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#3876D4
Tritanopia (blue-blind)
#A76088
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab41d7;
/* rgb */ color: rgb(171, 65, 215);
/* oklch */ color: oklch(58.6% 0.227 314.1);
Tailwind
colors: {
  custom: {
    50: '#c87ee4',
    500: '#ab41d7',
    950: '#000000',
  },
}
SCSS
$custom: #ab41d7;
$custom-light: #c87ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41d7",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 282.4,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.2265,
    "h": 314.1
  },
  "luminance": 0.17345
}

Semantic roles & 50–950 ramp

primary
#AB41D7
secondary
#ADD99A
accent
#E84071
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB41D7

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

Preview Lab → · Contrast checker → · Palette generator →

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