#AB41CC#AB41CC

#AB41CC is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.9% C 0.216 H 317.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB41CC
RGBrgb(171, 65, 204)
HSLhsl(286, 58%, 53%)
HSVhsv(286, 68%, 80%)
CMYKcmyk(16.2%, 68.1%, 0%, 20%)
CIE-LABlab(48.01, 62.96, -52.51)
CIE-LCHlch(48.01, 81.98, 320.17°)
OKLaboklab(57.93% 0.1585 -0.1474)
OKLCHoklch(57.93% 0.216 317.1)
XYZxyz(29.5824, 16.7994, 58.7994)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41CC #62CC41
analogous
#6541CC #AB41CC #CC41A8
triadic
#AB41CC #CCAB41 #41CCAB
tetradic
#AB41CC #CC6541 #62CC41 #41A8CC
square
#AB41CC #CC6541 #62CC41 #41A8CC
split-complementary
#AB41CC #A8CC41 #41CC65
monochromatic
#601F74 #872CA4 #AB41CC #C071D9 #D6A1E6

Accessibility & contrast

On white

4.82
#AB41CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AB41CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41CC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41CC#FFFFFF#000000##FFFFFF
##AB41CC1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#A95C82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab41cc;
/* rgb */ color: rgb(171, 65, 204);
/* oklch */ color: oklch(57.9% 0.216 317.1);
Tailwind
colors: {
  custom: {
    50: '#c87edc',
    500: '#ab41cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab41cc;
$custom-light: #c87edc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41cc",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 285.755,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57929,
    "c": 0.21643,
    "h": 317.1
  },
  "luminance": 0.16798
}

Semantic roles & 50–950 ramp

primary
#AB41CC
secondary
#A5D396
accent
#E1476B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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