#AB2EA9#AB2EA9

#AB2EA9 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.209 H 328.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AB2EA9
RGBrgb(171, 46, 169)
HSLhsl(301, 58%, 43%)
HSVhsv(301, 73%, 67%)
CMYKcmyk(0%, 73.1%, 1.2%, 32.9%)
CIE-LABlab(43.48, 63.71, -39.27)
CIE-LCHlch(43.48, 74.84, 328.35°)
OKLaboklab(54.03% 0.1787 -0.1087)
OKLCHoklch(54.03% 0.209 328.7)
XYZxyz(24.9328, 13.4783, 38.8168)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2EA9 #2EAB30
analogous
#6E2EAB #AB2EA9 #AB2E6A
triadic
#AB2EA9 #A9AB2E #2EA9AB
tetradic
#AB2EA9 #AB6E2E #2EAB30 #2E6AAB
square
#AB2EA9 #AB6E2E #2EAB30 #2E6AAB
split-complementary
#AB2EA9 #6AAB2E #2EAB6E
monochromatic
#4B144A #7B2179 #AB2EA9 #CE48CC #DB79D9

Accessibility & contrast

On white

5.68
#AB2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AB2EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2EA9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2EA9#FFFFFF#000000##FFFFFF
##AB2EA91.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195CAC
Deuteranopia (green-blind)
#516CA6
Tritanopia (blue-blind)
#B14069
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab2ea9;
/* rgb */ color: rgb(171, 46, 169);
/* oklch */ color: oklch(54.0% 0.209 328.7);
Tailwind
colors: {
  custom: {
    50: '#c874c3',
    500: '#ab2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #ab2ea9;
$custom-light: #c874c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2ea9",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 300.96,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.20913,
    "h": 328.7
  },
  "luminance": 0.13476
}

Semantic roles & 50–950 ramp

primary
#AB2EA9
secondary
#72C373
accent
#E14947
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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