#AB41D9#AB41D9

#AB41D9 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.8% C 0.228 H 313.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB41D9
RGBrgb(171, 65, 217)
HSLhsl(282, 67%, 55%)
HSVhsv(282, 70%, 85%)
CMYKcmyk(21.2%, 70%, 0%, 14.9%)
CIE-LABlab(48.82, 65.54, -58.65)
CIE-LCHlch(48.82, 87.95, 318.17°)
OKLaboklab(58.77% 0.1574 -0.1654)
OKLCHoklch(58.77% 0.228 313.6)
XYZxyz(31.2071, 17.4493, 67.3563)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41D9 #6FD941
analogous
#5F41D9 #AB41D9 #D941BB
triadic
#AB41D9 #D9AB41 #41D9AB
tetradic
#AB41D9 #D95F41 #6FD941 #41BBD9
square
#AB41D9 #D95F41 #6FD941 #41BBD9
split-complementary
#AB41D9 #BBD941 #41D95F
monochromatic
#651B85 #8B25B8 #AB41D9 #C274E3 #D8A7ED

Accessibility & contrast

On white

4.68
#AB41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AB41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41D9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41D9#FFFFFF#000000##FFFFFF
##AB41D91.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#3676D6
Tritanopia (blue-blind)
#A66189
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab41d9;
/* rgb */ color: rgb(171, 65, 217);
/* oklch */ color: oklch(58.8% 0.228 313.6);
Tailwind
colors: {
  custom: {
    50: '#c87ee5',
    500: '#ab41d9',
    950: '#000000',
  },
}
SCSS
$custom: #ab41d9;
$custom-light: #c87ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41d9",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 281.842,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58772,
    "c": 0.22834,
    "h": 313.6
  },
  "luminance": 0.17448
}

Semantic roles & 50–950 ramp

primary
#AB41D9
secondary
#AEDB9B
accent
#EA3E72
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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