#AB2E9E#AB2E9E

#AB2E9E is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.4% C 0.201 H 332.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AB2E9E
RGBrgb(171, 46, 158)
HSLhsl(306, 58%, 43%)
HSVhsv(306, 73%, 67%)
CMYKcmyk(0%, 73.1%, 7.6%, 32.9%)
CIE-LABlab(42.89, 61.96, -33.63)
CIE-LCHlch(42.89, 70.49, 331.51°)
OKLaboklab(53.42% 0.1783 -0.0923)
OKLCHoklch(53.42% 0.201 332.6)
XYZxyz(23.9432, 13.0825, 33.6053)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E9E #2EAB3B
analogous
#7A2EAB #AB2E9E #AB2E5F
triadic
#AB2E9E #9EAB2E #2E9EAB
tetradic
#AB2E9E #AB7A2E #2EAB3B #2E5FAB
square
#AB2E9E #AB7A2E #2EAB3B #2E5FAB
split-complementary
#AB2E9E #5FAB2E #2EAB7A
monochromatic
#4B1445 #7B2171 #AB2E9E #CE48C0 #DB79D1

Accessibility & contrast

On white

5.81
#AB2E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AB2E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E9E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E9E#FFFFFF#000000##FFFFFF
##AB2E9E1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA1
Deuteranopia (green-blind)
#576C9B
Tritanopia (blue-blind)
#B33B63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab2e9e;
/* rgb */ color: rgb(171, 46, 158);
/* oklch */ color: oklch(53.4% 0.201 332.6);
Tailwind
colors: {
  custom: {
    50: '#c873bb',
    500: '#ab2e9e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e9e;
$custom-light: #c873bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e9e",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 306.24,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53417,
    "c": 0.20083,
    "h": 332.6
  },
  "luminance": 0.13081
}

Semantic roles & 50–950 ramp

primary
#AB2E9E
secondary
#72C37A
accent
#E15747
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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