#AB2EA5#AB2EA5

#AB2EA5 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.206 H 330.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AB2EA5
RGBrgb(171, 46, 165)
HSLhsl(303, 58%, 43%)
HSVhsv(303, 73%, 67%)
CMYKcmyk(0%, 73.1%, 3.5%, 32.9%)
CIE-LABlab(43.26, 63.06, -37.23)
CIE-LCHlch(43.26, 73.24, 329.44°)
OKLaboklab(53.8% 0.1786 -0.1028)
OKLCHoklch(53.8% 0.206 330.1)
XYZxyz(24.5630, 13.3304, 36.8693)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2EA5 #2EAB34
analogous
#722EAB #AB2EA5 #AB2E66
triadic
#AB2EA5 #A5AB2E #2EA5AB
tetradic
#AB2EA5 #AB722E #2EAB34 #2E66AB
square
#AB2EA5 #AB722E #2EAB34 #2E66AB
split-complementary
#AB2EA5 #66AB2E #2EAB72
monochromatic
#4B1448 #7B2176 #AB2EA5 #CE48C7 #DB79D6

Accessibility & contrast

On white

5.73
#AB2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AB2EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2EA5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2EA5#FFFFFF#000000##FFFFFF
##AB2EA51.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA8
Deuteranopia (green-blind)
#536CA2
Tritanopia (blue-blind)
#B13F67
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab2ea5;
/* rgb */ color: rgb(171, 46, 165);
/* oklch */ color: oklch(53.8% 0.206 330.1);
Tailwind
colors: {
  custom: {
    50: '#c874c0',
    500: '#ab2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #ab2ea5;
$custom-light: #c874c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2ea5",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 302.88,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.20607,
    "h": 330.1
  },
  "luminance": 0.13329
}

Semantic roles & 50–950 ramp

primary
#AB2EA5
secondary
#72C376
accent
#E14E47
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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