#AB2DA5#AB2DA5

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

Color values

HEX#AB2DA5
RGBrgb(171, 45, 165)
HSLhsl(303, 58%, 42%)
HSVhsv(303, 74%, 67%)
CMYKcmyk(0%, 73.7%, 3.5%, 32.9%)
CIE-LABlab(43.14, 63.39, -37.42)
CIE-LCHlch(43.14, 73.61, 329.45°)
OKLaboklab(53.72% 0.1796 -0.1033)
OKLCHoklch(53.72% 0.207 330.1)
XYZxyz(24.5244, 13.2532, 36.8565)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2DA5 #2DAB33
analogous
#722DAB #AB2DA5 #AB2D66
triadic
#AB2DA5 #A5AB2D #2DA5AB
tetradic
#AB2DA5 #AB722D #2DAB33 #2D66AB
square
#AB2DA5 #AB722D #2DAB33 #2D66AB
split-complementary
#AB2DA5 #66AB2D #2DAB72
monochromatic
#4A1448 #7B2076 #AB2DA5 #CE47C8 #DB77D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2DA5#FFFFFF#000000##FFFFFF
##AB2DA51.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)
#1D5BA8
Deuteranopia (green-blind)
#536CA2
Tritanopia (blue-blind)
#B13E67
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab2da5;
/* rgb */ color: rgb(171, 45, 165);
/* oklch */ color: oklch(53.7% 0.207 330.1);
Tailwind
colors: {
  custom: {
    50: '#c873c0',
    500: '#ab2da5',
    950: '#000000',
  },
}
SCSS
$custom: #ab2da5;
$custom-light: #c873c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2da5",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 302.857,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5372,
    "c": 0.20714,
    "h": 330.1
  },
  "luminance": 0.13251
}

Semantic roles & 50–950 ramp

primary
#AB2DA5
secondary
#71C375
accent
#E24E46
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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