#AB41D5#AB41D5

#AB41D5 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.225 H 314.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AB41D5
RGBrgb(171, 65, 213)
HSLhsl(283, 64%, 55%)
HSVhsv(283, 69%, 84%)
CMYKcmyk(19.7%, 69.5%, 0%, 16.5%)
CIE-LABlab(48.57, 64.73, -56.78)
CIE-LCHlch(48.57, 86.11, 318.75°)
OKLaboklab(58.51% 0.1578 -0.1599)
OKLCHoklch(58.51% 0.225 314.6)
XYZxyz(30.6931, 17.2437, 64.6494)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41D5 #6BD541
analogous
#6141D5 #AB41D5 #D541B5
triadic
#AB41D5 #D5AB41 #41D5AB
tetradic
#AB41D5 #D56141 #6BD541 #41B5D5
square
#AB41D5 #D56141 #6BD541 #41B5D5
split-complementary
#AB41D5 #B5D541 #41D561
monochromatic
#631C7F #8A27B2 #AB41D5 #C173E0 #D7A5EB

Accessibility & contrast

On white

4.72
#AB41D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AB41D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41D5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41D5#FFFFFF#000000##FFFFFF
##AB41D51.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#3B76D2
Tritanopia (blue-blind)
#A75F87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab41d5;
/* rgb */ color: rgb(171, 65, 213);
/* oklch */ color: oklch(58.5% 0.225 314.6);
Tailwind
colors: {
  custom: {
    50: '#c87ee3',
    500: '#ab41d5',
    950: '#000000',
  },
}
SCSS
$custom: #ab41d5;
$custom-light: #c87ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41d5",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 282.973,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58508,
    "c": 0.22467,
    "h": 314.6
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#AB41D5
secondary
#ABD89A
accent
#E74170
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B15
muted
#827C84

Preview Lab

Preview with #AB41D5

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

Preview Lab → · Contrast checker → · Palette generator →

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