#AB2EAE#AB2EAE

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

Color values

HEX#AB2EAE
RGBrgb(171, 46, 174)
HSLhsl(299, 58%, 43%)
HSVhsv(299, 74%, 68%)
CMYKcmyk(1.7%, 73.6%, 0%, 31.8%)
CIE-LABlab(43.76, 64.54, -41.79)
CIE-LCHlch(43.76, 76.89, 327.08°)
OKLaboklab(54.32% 0.1787 -0.116)
OKLCHoklch(54.32% 0.213 327)
XYZxyz(25.4111, 13.6697, 41.3363)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2EAE #31AE2E
analogous
#6B2EAE #AB2EAE #AE2E71
triadic
#AB2EAE #AEAB2E #2EAEAB
tetradic
#AB2EAE #AE6B2E #31AE2E #2E71AE
square
#AB2EAE #AE6B2E #31AE2E #2E71AE
split-complementary
#AB2EAE #71AE2E #2EAE6B
monochromatic
#4C144D #7B217E #AB2EAE #CC4ACF #DA7ADC

Accessibility & contrast

On white

5.62
#AB2EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AB2EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2EAE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2EAE#FFFFFF#000000##FFFFFF
##AB2EAE1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5DB1
Deuteranopia (green-blind)
#4E6DAB
Tritanopia (blue-blind)
#B0436C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab2eae;
/* rgb */ color: rgb(171, 46, 174);
/* oklch */ color: oklch(54.3% 0.213 327.0);
Tailwind
colors: {
  custom: {
    50: '#c874c7',
    500: '#ab2eae',
    950: '#000000',
  },
}
SCSS
$custom: #ab2eae;
$custom-light: #c874c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2eae",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 298.594,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54319,
    "c": 0.213,
    "h": 327
  },
  "luminance": 0.13668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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