#AB53DC#AB53DC

#AB53DC is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.0% C 0.208 H 311.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AB53DC
RGBrgb(171, 83, 220)
HSLhsl(279, 66%, 59%)
HSVhsv(279, 62%, 86%)
CMYKcmyk(22.3%, 62.3%, 0%, 13.7%)
CIE-LABlab(51.85, 58.26, -55.49)
CIE-LCHlch(51.85, 80.46, 316.40°)
OKLaboklab(61.01% 0.1375 -0.1563)
OKLCHoklch(61.01% 0.208 311.4)
XYZxyz(32.8037, 20.0125, 69.8310)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB53DC #84DC53
analogous
#6753DC #AB53DC #DC53C9
triadic
#AB53DC #DCAB53 #53DCAB
tetradic
#AB53DC #DC6753 #84DC53 #53C9DC
square
#AB53DC #DC6753 #84DC53 #53C9DC
split-complementary
#AB53DC #C9DC53 #53DC67
monochromatic
#6B1F96 #9029C9 #AB53DC #C486E6 #DDB9F1

Accessibility & contrast

On white

4.20
#AB53DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AB53DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB53DC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB53DC#FFFFFF#000000##000000
##AB53DC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1377E0
Deuteranopia (green-blind)
#467DD9
Tritanopia (blue-blind)
#A56D90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab53dc;
/* rgb */ color: rgb(171, 83, 220);
/* oklch */ color: oklch(61.0% 0.208 311.4);
Tailwind
colors: {
  custom: {
    50: '#c888e7',
    500: '#ab53dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab53dc;
$custom-light: #c888e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab53dc",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 220
  },
  "hsl": {
    "h": 278.54,
    "s": 66.184,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61008,
    "c": 0.20817,
    "h": 311.4
  },
  "luminance": 0.20012
}

Semantic roles & 50–950 ramp

primary
#AB53DC
secondary
#BEE0AB
accent
#E93F7C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB53DC

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

Preview Lab → · Contrast checker → · Palette generator →

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