#AB2EA0#AB2EA0

#AB2EA0 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.5% C 0.202 H 331.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AB2EA0
RGBrgb(171, 46, 160)
HSLhsl(305, 58%, 43%)
HSVhsv(305, 73%, 67%)
CMYKcmyk(0%, 73.1%, 6.4%, 32.9%)
CIE-LABlab(42.99, 62.27, -34.66)
CIE-LCHlch(42.99, 71.27, 330.90°)
OKLaboklab(53.53% 0.1784 -0.0953)
OKLCHoklch(53.53% 0.202 331.9)
XYZxyz(24.1168, 13.1519, 34.5193)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2EA0 #2EAB39
analogous
#782EAB #AB2EA0 #AB2E61
triadic
#AB2EA0 #A0AB2E #2EA0AB
tetradic
#AB2EA0 #AB782E #2EAB39 #2E61AB
square
#AB2EA0 #AB782E #2EAB39 #2E61AB
split-complementary
#AB2EA0 #61AB2E #2EAB78
monochromatic
#4B1446 #7B2173 #AB2EA0 #CE48C2 #DB79D2

Accessibility & contrast

On white

5.79
#AB2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AB2EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2EA0
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2EA0#FFFFFF#000000##FFFFFF
##AB2EA01.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255AA3
Deuteranopia (green-blind)
#566C9D
Tritanopia (blue-blind)
#B23C64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab2ea0;
/* rgb */ color: rgb(171, 46, 160);
/* oklch */ color: oklch(53.5% 0.202 331.9);
Tailwind
colors: {
  custom: {
    50: '#c873bc',
    500: '#ab2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #ab2ea0;
$custom-light: #c873bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2ea0",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 305.28,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53525,
    "c": 0.20231,
    "h": 331.9
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

primary
#AB2EA0
secondary
#72C379
accent
#E15447
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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