#AB2FAD#AB2FAD

#AB2FAD is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.211 H 327.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AB2FAD
RGBrgb(171, 47, 173)
HSLhsl(299, 57%, 43%)
HSVhsv(299, 73%, 68%)
CMYKcmyk(1.2%, 72.8%, 0%, 32.2%)
CIE-LABlab(43.81, 64.04, -41.11)
CIE-LCHlch(43.81, 76.10, 327.31°)
OKLaboklab(54.34% 0.1777 -0.114)
OKLCHoklch(54.34% 0.211 327.3)
XYZxyz(25.3535, 13.7099, 40.8380)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2FAD #31AD2F
analogous
#6C2FAD #AB2FAD #AD2F70
triadic
#AB2FAD #ADAB2F #2FADAB
tetradic
#AB2FAD #AD6C2F #31AD2F #2F70AD
square
#AB2FAD #AD6C2F #31AD2F #2F70AD
split-complementary
#AB2FAD #70AD2F #2FAD6C
monochromatic
#4C154D #7B227D #AB2FAD #CC4BCE #DA7BDB

Accessibility & contrast

On white

5.61
#AB2FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AB2FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2FAD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2FAD#FFFFFF#000000##FFFFFF
##AB2FAD1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135DB0
Deuteranopia (green-blind)
#4F6DAA
Tritanopia (blue-blind)
#B0436C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab2fad;
/* rgb */ color: rgb(171, 47, 173);
/* oklch */ color: oklch(54.3% 0.211 327.3);
Tailwind
colors: {
  custom: {
    50: '#c874c6',
    500: '#ab2fad',
    950: '#000000',
  },
}
SCSS
$custom: #ab2fad;
$custom-light: #c874c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2fad",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 299.048,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54343,
    "c": 0.21115,
    "h": 327.3
  },
  "luminance": 0.13708
}

Semantic roles & 50–950 ramp

primary
#AB2FAD
secondary
#75C474
accent
#E1474A
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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