#AB41CB#AB41CB

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

Color values

HEX#AB41CB
RGBrgb(171, 65, 203)
HSLhsl(286, 57%, 53%)
HSVhsv(286, 68%, 80%)
CMYKcmyk(15.8%, 68%, 0%, 20.4%)
CIE-LABlab(47.95, 62.76, -52.03)
CIE-LCHlch(47.95, 81.53, 320.34°)
OKLaboklab(57.87% 0.1585 -0.146)
OKLCHoklch(57.87% 0.216 317.3)
XYZxyz(29.4628, 16.7515, 58.1697)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB41CB #61CB41
analogous
#6641CB #AB41CB #CB41A6
triadic
#AB41CB #CBAB41 #41CBAB
tetradic
#AB41CB #CB6641 #61CB41 #41A6CB
square
#AB41CB #CB6641 #61CB41 #41A6CB
split-complementary
#AB41CB #A6CB41 #41CB66
monochromatic
#5F1F72 #872CA2 #AB41CB #C071D8 #D5A1E5

Accessibility & contrast

On white

4.83
#AB41CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AB41CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB41CB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB41CB#FFFFFF#000000##FFFFFF
##AB41CB1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#AA5B81
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab41cb;
/* rgb */ color: rgb(171, 65, 203);
/* oklch */ color: oklch(57.9% 0.216 317.3);
Tailwind
colors: {
  custom: {
    50: '#c87edb',
    500: '#ab41cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab41cb;
$custom-light: #c87edb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab41cb",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 286.087,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57866,
    "c": 0.21552,
    "h": 317.3
  },
  "luminance": 0.1675
}

Semantic roles & 50–950 ramp

primary
#AB41CB
secondary
#A4D296
accent
#E0486B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB41CB

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

Preview Lab → · Contrast checker → · Palette generator →

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