#AB2CAD#AB2CAD

#AB2CAD is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.214 H 327.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AB2CAD
RGBrgb(171, 44, 173)
HSLhsl(299, 59%, 43%)
HSVhsv(299, 75%, 68%)
CMYKcmyk(1.2%, 74.6%, 0%, 32.2%)
CIE-LABlab(43.48, 65.01, -41.64)
CIE-LCHlch(43.48, 77.21, 327.36°)
OKLaboklab(54.1% 0.1805 -0.1155)
OKLCHoklch(54.1% 0.214 327.4)
XYZxyz(25.2377, 13.4782, 40.7994)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2CAD #2EAD2C
analogous
#6B2CAD #AB2CAD #AD2C6E
triadic
#AB2CAD #ADAB2C #2CADAB
tetradic
#AB2CAD #AD6B2C #2EAD2C #2C6EAD
square
#AB2CAD #AD6B2C #2EAD2C #2C6EAD
split-complementary
#AB2CAD #6EAD2C #2CAD6B
monochromatic
#4B134B #7B207C #AB2CAD #CE46D0 #DB77DC

Accessibility & contrast

On white

5.68
#AB2CAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AB2CAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2CAD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2CAD#FFFFFF#000000##FFFFFF
##AB2CAD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5CB0
Deuteranopia (green-blind)
#4E6CAA
Tritanopia (blue-blind)
#B0416B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab2cad;
/* rgb */ color: rgb(171, 44, 173);
/* oklch */ color: oklch(54.1% 0.214 327.4);
Tailwind
colors: {
  custom: {
    50: '#c873c6',
    500: '#ab2cad',
    950: '#000000',
  },
}
SCSS
$custom: #ab2cad;
$custom-light: #c873c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2cad",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 299.07,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.21428,
    "h": 327.4
  },
  "luminance": 0.13476
}

Semantic roles & 50–950 ramp

primary
#AB2CAD
secondary
#72C471
accent
#E34548
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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