#AB52AE#AB52AE

#AB52AE is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.3% C 0.164 H 326.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AB52AE
RGBrgb(171, 82, 174)
HSLhsl(298, 36%, 50%)
HSVhsv(298, 53%, 68%)
CMYKcmyk(1.7%, 52.9%, 0%, 31.8%)
CIE-LABlab(49.19, 49.51, -33.21)
CIE-LCHlch(49.19, 59.61, 326.15°)
OKLaboklab(58.26% 0.1365 -0.0914)
OKLCHoklch(58.26% 0.164 326.2)
XYZxyz(27.4513, 17.7500, 42.0164)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB52AE #55AE52
analogous
#7D52AE #AB52AE #AE5283
triadic
#AB52AE #AEAB52 #52AEAB
tetradic
#AB52AE #AE7D52 #55AE52 #5283AE
square
#AB52AE #AE7D52 #55AE52 #5283AE
split-complementary
#AB52AE #83AE52 #52AE7D
monochromatic
#592B5B #823E85 #AB52AE #BF7CC2 #D3A5D5

Accessibility & contrast

On white

4.62
#AB52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AB52AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB52AE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB52AE#FFFFFF#000000##FFFFFF
##AB52AE1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486EB1
Deuteranopia (green-blind)
#6379AB
Tritanopia (blue-blind)
#AF5D78
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab52ae;
/* rgb */ color: rgb(171, 82, 174);
/* oklch */ color: oklch(58.3% 0.164 326.2);
Tailwind
colors: {
  custom: {
    50: '#c687c6',
    500: '#ab52ae',
    950: '#000000',
  },
}
SCSS
$custom: #ab52ae;
$custom-light: #c687c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab52ae",
  "rgb": {
    "r": 171,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 298.043,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.1643,
    "h": 326.2
  },
  "luminance": 0.17749
}

Semantic roles & 50–950 ramp

primary
#AB52AE
secondary
#9BC299
accent
#CC5C5F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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