#AB53B2#AB53B2

#AB53B2 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.6% C 0.166 H 324.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AB53B2
RGBrgb(171, 83, 178)
HSLhsl(296, 38%, 51%)
HSVhsv(296, 53%, 70%)
CMYKcmyk(3.9%, 53.4%, 0%, 30.2%)
CIE-LABlab(49.57, 49.76, -34.95)
CIE-LCHlch(49.57, 60.81, 324.91°)
OKLaboklab(58.61% 0.1357 -0.0965)
OKLCHoklch(58.61% 0.166 324.6)
XYZxyz(27.9230, 18.0602, 44.1260)
Luminance0.1806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB53B2 #5AB253
analogous
#7B53B2 #AB53B2 #B25389
triadic
#AB53B2 #B2AB53 #53B2AB
tetradic
#AB53B2 #B27B53 #5AB253 #5389B2
square
#AB53B2 #B27B53 #5AB253 #5389B2
split-complementary
#AB53B2 #89B253 #53B27B
monochromatic
#5C2B60 #843E8A #AB53B2 #C07DC5 #D4A8D8

Accessibility & contrast

On white

4.55
#AB53B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AB53B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB53B2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB53B2#FFFFFF#000000##000000
##AB53B21.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#627AAF
Tritanopia (blue-blind)
#AE5F7B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab53b2;
/* rgb */ color: rgb(171, 83, 178);
/* oklch */ color: oklch(58.6% 0.166 324.6);
Tailwind
colors: {
  custom: {
    50: '#c687c9',
    500: '#ab53b2',
    950: '#000000',
  },
}
SCSS
$custom: #ab53b2;
$custom-light: #c687c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab53b2",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 178
  },
  "hsl": {
    "h": 295.579,
    "s": 38.153,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58605,
    "c": 0.16646,
    "h": 324.6
  },
  "luminance": 0.18059
}

Semantic roles & 50–950 ramp

primary
#AB53B2
secondary
#9FC59B
accent
#CE5A62
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB53B2

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

Preview Lab → · Contrast checker → · Palette generator →

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