#AB2FAE#AB2FAE

#AB2FAE is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.212 H 327.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AB2FAE
RGBrgb(171, 47, 174)
HSLhsl(299, 57%, 43%)
HSVhsv(299, 73%, 68%)
CMYKcmyk(1.7%, 73%, 0%, 31.8%)
CIE-LABlab(43.87, 64.21, -41.61)
CIE-LCHlch(43.87, 76.51, 327.06°)
OKLaboklab(54.4% 0.1777 -0.1155)
OKLCHoklch(54.4% 0.212 327)
XYZxyz(25.4507, 13.7487, 41.3495)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2FAE #32AE2F
analogous
#6B2FAE #AB2FAE #AE2F71
triadic
#AB2FAE #AEAB2F #2FAEAB
tetradic
#AB2FAE #AE6B2F #32AE2F #2F71AE
square
#AB2FAE #AE6B2F #32AE2F #2F71AE
split-complementary
#AB2FAE #71AE2F #2FAE6B
monochromatic
#4C154E #7C227E #AB2FAE #CB4CCF #D97CDC

Accessibility & contrast

On white

5.60
#AB2FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AB2FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2FAE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2FAE#FFFFFF#000000##FFFFFF
##AB2FAE1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB1
Deuteranopia (green-blind)
#4F6DAB
Tritanopia (blue-blind)
#B0446C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab2fae;
/* rgb */ color: rgb(171, 47, 174);
/* oklch */ color: oklch(54.4% 0.212 327.0);
Tailwind
colors: {
  custom: {
    50: '#c874c7',
    500: '#ab2fae',
    950: '#000000',
  },
}
SCSS
$custom: #ab2fae;
$custom-light: #c874c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2fae",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 298.583,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54402,
    "c": 0.21194,
    "h": 327
  },
  "luminance": 0.13747
}

Semantic roles & 50–950 ramp

primary
#AB2FAE
secondary
#77C475
accent
#E1474B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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