#AB41CD#AB41CD

#AB41CD is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.217 H 316.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AB41CD
RGBrgb(171, 65, 205)
HSLhsl(285, 58%, 53%)
HSVhsv(285, 68%, 80%)
CMYKcmyk(16.6%, 68.3%, 0%, 19.6%)
CIE-LABlab(48.07, 63.15, -52.99)
CIE-LCHlch(48.07, 82.44, 320.00°)
OKLaboklab(57.99% 0.1584 -0.1488)
OKLCHoklch(57.99% 0.217 316.8)
XYZxyz(29.7027, 16.8475, 59.4331)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41CD #63CD41
analogous
#6541CD #AB41CD #CD41A9
triadic
#AB41CD #CDAB41 #41CDAB
tetradic
#AB41CD #CD6541 #63CD41 #41A9CD
square
#AB41CD #CD6541 #63CD41 #41A9CD
split-complementary
#AB41CD #A9CD41 #41CD65
monochromatic
#601F75 #882CA5 #AB41CD #C071DA #D6A2E6

Accessibility & contrast

On white

4.81
#AB41CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AB41CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41CD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41CD#FFFFFF#000000##FFFFFF
##AB41CD1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#A95C82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab41cd;
/* rgb */ color: rgb(171, 65, 205);
/* oklch */ color: oklch(58.0% 0.217 316.8);
Tailwind
colors: {
  custom: {
    50: '#c87edd',
    500: '#ab41cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab41cd;
$custom-light: #c87edd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41cd",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 285.429,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57992,
    "c": 0.21734,
    "h": 316.8
  },
  "luminance": 0.16846
}

Semantic roles & 50–950 ramp

primary
#AB41CD
secondary
#A5D397
accent
#E2466C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB41CD

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

Preview Lab → · Contrast checker → · Palette generator →

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