#AB53CB#AB53CB

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

Color values

HEX#AB53CB
RGBrgb(171, 83, 203)
HSLhsl(284, 54%, 56%)
HSVhsv(284, 59%, 80%)
CMYKcmyk(15.8%, 59.1%, 0%, 20.4%)
CIE-LABlab(50.87, 54.70, -47.36)
CIE-LCHlch(50.87, 72.35, 319.11°)
OKLaboklab(59.98% 0.1375 -0.1325)
OKLCHoklch(59.98% 0.191 316.1)
XYZxyz(30.6657, 19.1573, 58.5707)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB53CB #73CB53
analogous
#6F53CB #AB53CB #CB53AF
triadic
#AB53CB #CBAB53 #53CBAB
tetradic
#AB53CB #CB6F53 #73CB53 #53AFCB
square
#AB53CB #CB6F53 #73CB53 #53AFCB
split-complementary
#AB53CB #AFCB53 #53CB6F
monochromatic
#66267E #8C34AD #AB53CB #C282D9 #D9B1E7

Accessibility & contrast

On white

4.35
#AB53CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AB53CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB53CB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB53CB#FFFFFF#000000##000000
##AB53CB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3174CF
Deuteranopia (green-blind)
#547CC8
Tritanopia (blue-blind)
#A96787
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab53cb;
/* rgb */ color: rgb(171, 83, 203);
/* oklch */ color: oklch(60.0% 0.191 316.1);
Tailwind
colors: {
  custom: {
    50: '#c788db',
    500: '#ab53cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab53cb;
$custom-light: #c788db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab53cb",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 203
  },
  "hsl": {
    "h": 284,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.19097,
    "h": 316.1
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#AB53CB
secondary
#B1D6A4
accent
#DD4B72
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB53CB

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

Preview Lab → · Contrast checker → · Palette generator →

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