#AB4FAE#AB4FAE

#AB4FAE is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.9% C 0.169 H 326.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AB4FAE
RGBrgb(171, 79, 174)
HSLhsl(298, 38%, 50%)
HSVhsv(298, 55%, 68%)
CMYKcmyk(1.7%, 54.6%, 0%, 31.8%)
CIE-LABlab(48.65, 50.97, -34.06)
CIE-LCHlch(48.65, 61.31, 326.25°)
OKLaboklab(57.86% 0.1406 -0.0939)
OKLCHoklch(57.86% 0.169 326.3)
XYZxyz(27.2300, 17.3074, 41.9426)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FAE #52AE4F
analogous
#7C4FAE #AB4FAE #AE4F82
triadic
#AB4FAE #AEAB4F #4FAEAB
tetradic
#AB4FAE #AE7C4F #52AE4F #4F82AE
square
#AB4FAE #AE7C4F #52AE4F #4F82AE
split-complementary
#AB4FAE #82AE4F #4FAE7C
monochromatic
#58295A #823C84 #AB4FAE #C078C2 #D3A2D5

Accessibility & contrast

On white

4.71
#AB4FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AB4FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4FAE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FAE#FFFFFF#000000##FFFFFF
##AB4FAE1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446CB1
Deuteranopia (green-blind)
#6178AB
Tritanopia (blue-blind)
#AF5A77
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab4fae;
/* rgb */ color: rgb(171, 79, 174);
/* oklch */ color: oklch(57.9% 0.169 326.3);
Tailwind
colors: {
  custom: {
    50: '#c685c6',
    500: '#ab4fae',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fae;
$custom-light: #c685c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fae",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 298.105,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57863,
    "c": 0.16906,
    "h": 326.3
  },
  "luminance": 0.17306
}

Semantic roles & 50–950 ramp

primary
#AB4FAE
secondary
#98C297
accent
#CE5A5E
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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