#AB53D8#AB53D8

#AB53D8 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.204 H 312.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AB53D8
RGBrgb(171, 83, 216)
HSLhsl(280, 63%, 59%)
HSVhsv(280, 62%, 85%)
CMYKcmyk(20.8%, 61.6%, 0%, 15.3%)
CIE-LABlab(51.61, 57.41, -53.60)
CIE-LCHlch(51.61, 78.54, 316.97°)
OKLaboklab(60.76% 0.1376 -0.1507)
OKLCHoklch(60.76% 0.204 312.4)
XYZxyz(32.2803, 19.8031, 67.0744)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB53D8 #80D853
analogous
#6853D8 #AB53D8 #D853C2
triadic
#AB53D8 #D8AB53 #53D8AB
tetradic
#AB53D8 #D86853 #80D853 #53C2D8
square
#AB53D8 #D86853 #80D853 #53C2D8
split-complementary
#AB53D8 #C2D853 #53D868
monochromatic
#6A2190 #8F2CC2 #AB53D8 #C385E3 #DCB7EF

Accessibility & contrast

On white

4.23
#AB53D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AB53D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB53D8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB53D8#FFFFFF#000000##000000
##AB53D81.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D76DC
Deuteranopia (green-blind)
#497DD5
Tritanopia (blue-blind)
#A66C8E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab53d8;
/* rgb */ color: rgb(171, 83, 216);
/* oklch */ color: oklch(60.8% 0.204 312.4);
Tailwind
colors: {
  custom: {
    50: '#c788e5',
    500: '#ab53d8',
    950: '#000000',
  },
}
SCSS
$custom: #ab53d8;
$custom-light: #c788e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab53d8",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 216
  },
  "hsl": {
    "h": 279.699,
    "s": 63.033,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6076,
    "c": 0.2041,
    "h": 312.4
  },
  "luminance": 0.19802
}

Semantic roles & 50–950 ramp

primary
#AB53D8
secondary
#BBDEA9
accent
#E64279
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB53D8

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

Preview Lab → · Contrast checker → · Palette generator →

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