#AB2EA3#AB2EA3

#AB2EA3 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.205 H 330.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AB2EA3
RGBrgb(171, 46, 163)
HSLhsl(304, 58%, 43%)
HSVhsv(304, 73%, 67%)
CMYKcmyk(0%, 73.1%, 4.7%, 32.9%)
CIE-LABlab(43.15, 62.74, -36.21)
CIE-LCHlch(43.15, 72.44, 330.01°)
OKLaboklab(53.69% 0.1786 -0.0998)
OKLCHoklch(53.69% 0.205 330.8)
XYZxyz(24.3824, 13.2582, 35.9181)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2EA3 #2EAB36
analogous
#742EAB #AB2EA3 #AB2E64
triadic
#AB2EA3 #A3AB2E #2EA3AB
tetradic
#AB2EA3 #AB742E #2EAB36 #2E64AB
square
#AB2EA3 #AB742E #2EAB36 #2E64AB
split-complementary
#AB2EA3 #64AB2E #2EAB74
monochromatic
#4B1447 #7B2175 #AB2EA3 #CE48C5 #DB79D5

Accessibility & contrast

On white

5.75
#AB2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AB2EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2EA3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2EA3#FFFFFF#000000##FFFFFF
##AB2EA31.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA6
Deuteranopia (green-blind)
#546CA0
Tritanopia (blue-blind)
#B23E66
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab2ea3;
/* rgb */ color: rgb(171, 46, 163);
/* oklch */ color: oklch(53.7% 0.205 330.8);
Tailwind
colors: {
  custom: {
    50: '#c874bf',
    500: '#ab2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #ab2ea3;
$custom-light: #c874bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2ea3",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 303.84,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.20456,
    "h": 330.8
  },
  "luminance": 0.13256
}

Semantic roles & 50–950 ramp

primary
#AB2EA3
secondary
#72C377
accent
#E15147
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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