#AB41DD#AB41DD

#AB41DD is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.232 H 312.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AB41DD
RGBrgb(171, 65, 221)
HSLhsl(281, 70%, 56%)
HSVhsv(281, 71%, 87%)
CMYKcmyk(22.6%, 70.6%, 0%, 13.3%)
CIE-LABlab(49.08, 66.35, -60.51)
CIE-LCHlch(49.08, 89.80, 317.63°)
OKLaboklab(59.04% 0.157 -0.1709)
OKLCHoklch(59.04% 0.232 312.6)
XYZxyz(31.7337, 17.6599, 70.1296)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41DD #73DD41
analogous
#5D41DD #AB41DD #DD41C1
triadic
#AB41DD #DDAB41 #41DDAB
tetradic
#AB41DD #DD5D41 #73DD41 #41C1DD
square
#AB41DD #DD5D41 #73DD41 #41C1DD
split-complementary
#AB41DD #C1DD41 #41DD5D
monochromatic
#66198B #8C22BF #AB41DD #C275E6 #D9A9F0

Accessibility & contrast

On white

4.63
#AB41DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AB41DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41DD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41DD#FFFFFF#000000##FFFFFF
##AB41DD1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#3177DA
Tritanopia (blue-blind)
#A5638B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab41dd;
/* rgb */ color: rgb(171, 65, 221);
/* oklch */ color: oklch(59.0% 0.232 312.6);
Tailwind
colors: {
  custom: {
    50: '#c87ee8',
    500: '#ab41dd',
    950: '#000000',
  },
}
SCSS
$custom: #ab41dd;
$custom-light: #c87ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41dd",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 280.769,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59039,
    "c": 0.23203,
    "h": 312.6
  },
  "luminance": 0.17659
}

Semantic roles & 50–950 ramp

primary
#AB41DD
secondary
#B1DD9D
accent
#EC3B74
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB41DD

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

Preview Lab → · Contrast checker → · Palette generator →

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