#AB2DA3#AB2DA3

#AB2DA3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.206 H 330.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AB2DA3
RGBrgb(171, 45, 163)
HSLhsl(304, 58%, 42%)
HSVhsv(304, 74%, 67%)
CMYKcmyk(0%, 73.7%, 4.7%, 32.9%)
CIE-LABlab(43.03, 63.07, -36.39)
CIE-LCHlch(43.03, 72.82, 330.02°)
OKLaboklab(53.61% 0.1795 -0.1003)
OKLCHoklch(53.61% 0.206 330.8)
XYZxyz(24.3438, 13.1810, 35.9053)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2DA3 #2DAB35
analogous
#742DAB #AB2DA3 #AB2D64
triadic
#AB2DA3 #A3AB2D #2DA3AB
tetradic
#AB2DA3 #AB742D #2DAB35 #2D64AB
square
#AB2DA3 #AB742D #2DAB35 #2D64AB
split-complementary
#AB2DA3 #64AB2D #2DAB74
monochromatic
#4A1447 #7B2075 #AB2DA3 #CE47C6 #DB77D5

Accessibility & contrast

On white

5.78
#AB2DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AB2DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2DA3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2DA3#FFFFFF#000000##FFFFFF
##AB2DA31.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2da3;
/* rgb */ color: rgb(171, 45, 163);
/* oklch */ color: oklch(53.6% 0.206 330.8);
Tailwind
colors: {
  custom: {
    50: '#c873bf',
    500: '#ab2da3',
    950: '#000000',
  },
}
SCSS
$custom: #ab2da3;
$custom-light: #c873bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2da3",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 303.81,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53608,
    "c": 0.20564,
    "h": 330.8
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#AB2DA3
secondary
#71C376
accent
#E25046
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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