#AB2E99#AB2E99

#AB2E99 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.2% C 0.197 H 334.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB2E99
RGBrgb(171, 46, 153)
HSLhsl(309, 58%, 43%)
HSVhsv(309, 73%, 67%)
CMYKcmyk(0%, 73.1%, 10.5%, 32.9%)
CIE-LABlab(42.63, 61.19, -31.02)
CIE-LCHlch(42.63, 68.60, 333.11°)
OKLaboklab(53.15% 0.178 -0.0848)
OKLCHoklch(53.15% 0.197 334.5)
XYZxyz(23.5216, 12.9139, 31.3846)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E99 #2EAB40
analogous
#7F2EAB #AB2E99 #AB2E5A
triadic
#AB2E99 #99AB2E #2E99AB
tetradic
#AB2E99 #AB7F2E #2EAB40 #2E5AAB
square
#AB2E99 #AB7F2E #2EAB40 #2E5AAB
split-complementary
#AB2E99 #5AAB2E #2EAB7F
monochromatic
#4B1443 #7B216E #AB2E99 #CE48BB #DB79CD

Accessibility & contrast

On white

5.86
#AB2E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB2E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E99
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E99#FFFFFF#000000##FFFFFF
##AB2E991.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C599C
Deuteranopia (green-blind)
#596B96
Tritanopia (blue-blind)
#B33960
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab2e99;
/* rgb */ color: rgb(171, 46, 153);
/* oklch */ color: oklch(53.2% 0.197 334.5);
Tailwind
colors: {
  custom: {
    50: '#c873b7',
    500: '#ab2e99',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e99;
$custom-light: #c873b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e99",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 308.64,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53151,
    "c": 0.19718,
    "h": 334.5
  },
  "luminance": 0.12912
}

Semantic roles & 50–950 ramp

primary
#AB2E99
secondary
#72C37E
accent
#E15D47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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