#AB2496#AB2496

#AB2496 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.205 H 335.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AB2496
RGBrgb(171, 36, 150)
HSLhsl(309, 65%, 41%)
HSVhsv(309, 79%, 67%)
CMYKcmyk(0%, 78.9%, 12.3%, 32.9%)
CIE-LABlab(41.41, 63.80, -31.13)
CIE-LCHlch(41.41, 70.99, 333.99°)
OKLaboklab(52.22% 0.1868 -0.0851)
OKLCHoklch(52.22% 0.205 335.5)
XYZxyz(22.9308, 12.1238, 29.9807)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2496 #24AB39
analogous
#7C24AB #AB2496 #AB2453
triadic
#AB2496 #96AB24 #2496AB
tetradic
#AB2496 #AB7C24 #24AB39 #2453AB
square
#AB2496 #AB7C24 #24AB39 #2453AB
split-complementary
#AB2496 #53AB24 #24AB7C
monochromatic
#460F3D #78196A #AB2496 #D537BC #E06ACD

Accessibility & contrast

On white

6.13
#AB2496 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AB2496 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2496
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2496#FFFFFF#000000##FFFFFF
##AB24961.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255599
Deuteranopia (green-blind)
#576993
Tritanopia (blue-blind)
#B4305C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2496;
/* rgb */ color: rgb(171, 36, 150);
/* oklch */ color: oklch(52.2% 0.205 335.5);
Tailwind
colors: {
  custom: {
    50: '#c86fb5',
    500: '#ab2496',
    950: '#000000',
  },
}
SCSS
$custom: #ab2496;
$custom-light: #c86fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2496",
  "rgb": {
    "r": 171,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 309.333,
    "s": 65.217,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52224,
    "c": 0.20528,
    "h": 335.5
  },
  "luminance": 0.12122
}

Semantic roles & 50–950 ramp

primary
#AB2496
secondary
#65C674
accent
#E85A40
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2496

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

Preview Lab → · Contrast checker → · Palette generator →

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