#AB60DC#AB60DC

#AB60DC is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.7% C 0.189 H 309.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB60DC
RGBrgb(171, 96, 220)
HSLhsl(276, 64%, 62%)
HSVhsv(276, 56%, 86%)
CMYKcmyk(22.3%, 56.4%, 0%, 13.7%)
CIE-LABlab(54.23, 51.85, -51.69)
CIE-LCHlch(54.23, 73.21, 315.09°)
OKLaboklab(62.74% 0.1216 -0.1452)
OKLCHoklch(62.74% 0.189 309.9)
XYZxyz(33.8933, 22.1916, 70.1942)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB60DC #91DC60
analogous
#6D60DC #AB60DC #DC60CF
triadic
#AB60DC #DCAB60 #60DCAB
tetradic
#AB60DC #DC6D60 #91DC60 #60CFDC
square
#AB60DC #DC6D60 #91DC60 #60CFDC
split-complementary
#AB60DC #CFDC60 #60DC6D
monochromatic
#6E239F #902ED1 #AB60DC #C592E7 #E0C4F2

Accessibility & contrast

On white

3.86
#AB60DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AB60DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB60DC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB60DC#FFFFFF#000000##000000
##AB60DC1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EE0
Deuteranopia (green-blind)
#5383D9
Tritanopia (blue-blind)
#A57695
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab60dc;
/* rgb */ color: rgb(171, 96, 220);
/* oklch */ color: oklch(62.7% 0.189 309.9);
Tailwind
colors: {
  custom: {
    50: '#c790e7',
    500: '#ab60dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab60dc;
$custom-light: #c790e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab60dc",
  "rgb": {
    "r": 171,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 276.29,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6274,
    "c": 0.18939,
    "h": 309.9
  },
  "luminance": 0.22191
}

Semantic roles & 50–950 ramp

primary
#AB60DC
secondary
#C7E3B5
accent
#CC1A60
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB60DC

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

Preview Lab → · Contrast checker → · Palette generator →

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