#AB41DE#AB41DE

#AB41DE is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.1% C 0.233 H 312.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AB41DE
RGBrgb(171, 65, 222)
HSLhsl(281, 70%, 56%)
HSVhsv(281, 71%, 87%)
CMYKcmyk(23%, 70.7%, 0%, 12.9%)
CIE-LABlab(49.15, 66.55, -60.97)
CIE-LCHlch(49.15, 90.26, 317.50°)
OKLaboklab(59.11% 0.1568 -0.1722)
OKLCHoklch(59.11% 0.233 312.3)
XYZxyz(31.8673, 17.7133, 70.8334)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41DE #74DE41
analogous
#5D41DE #AB41DE #DE41C2
triadic
#AB41DE #DEAB41 #41DEAB
tetradic
#AB41DE #DE5D41 #74DE41 #41C2DE
square
#AB41DE #DE5D41 #74DE41 #41C2DE
split-complementary
#AB41DE #C2DE41 #41DE5D
monochromatic
#67188C #8D21C0 #AB41DE #C275E7 #D9A9F0

Accessibility & contrast

On white

4.62
#AB41DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AB41DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41DE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41DE#FFFFFF#000000##FFFFFF
##AB41DE1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#2F77DB
Tritanopia (blue-blind)
#A5638C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab41de;
/* rgb */ color: rgb(171, 65, 222);
/* oklch */ color: oklch(59.1% 0.233 312.3);
Tailwind
colors: {
  custom: {
    50: '#c97fe9',
    500: '#ab41de',
    950: '#000000',
  },
}
SCSS
$custom: #ab41de;
$custom-light: #c97fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41de",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 280.51,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59107,
    "c": 0.23295,
    "h": 312.3
  },
  "luminance": 0.17712
}

Semantic roles & 50–950 ramp

primary
#AB41DE
secondary
#B2DE9D
accent
#ED3B75
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB41DE

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

Preview Lab → · Contrast checker → · Palette generator →

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