#AB53CC#AB53CC

#AB53CC is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.0% C 0.192 H 315.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AB53CC
RGBrgb(171, 83, 204)
HSLhsl(284, 54%, 56%)
HSVhsv(284, 59%, 80%)
CMYKcmyk(16.2%, 59.3%, 0%, 20%)
CIE-LABlab(50.93, 54.90, -47.85)
CIE-LCHlch(50.93, 72.82, 318.93°)
OKLaboklab(60.04% 0.1376 -0.1339)
OKLCHoklch(60.04% 0.192 315.8)
XYZxyz(30.7852, 19.2051, 59.2003)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB53CC #74CC53
analogous
#6F53CC #AB53CC #CC53B1
triadic
#AB53CC #CCAB53 #53CCAB
tetradic
#AB53CC #CC6F53 #74CC53 #53B1CC
square
#AB53CC #CC6F53 #74CC53 #53B1CC
split-complementary
#AB53CC #B1CC53 #53CC6F
monochromatic
#67267F #8D34AE #AB53CC #C282DA #D9B1E8

Accessibility & contrast

On white

4.34
#AB53CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AB53CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB53CC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB53CC#FFFFFF#000000##000000
##AB53CC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3074D0
Deuteranopia (green-blind)
#537CC9
Tritanopia (blue-blind)
#A96888
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab53cc;
/* rgb */ color: rgb(171, 83, 204);
/* oklch */ color: oklch(60.0% 0.192 315.8);
Tailwind
colors: {
  custom: {
    50: '#c788dc',
    500: '#ab53cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab53cc;
$custom-light: #c788dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab53cc",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 204
  },
  "hsl": {
    "h": 283.636,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60039,
    "c": 0.19198,
    "h": 315.8
  },
  "luminance": 0.19204
}

Semantic roles & 50–950 ramp

primary
#AB53CC
secondary
#B2D6A4
accent
#DE4A72
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB53CC

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

Preview Lab → · Contrast checker → · Palette generator →

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