#AB60DB#AB60DB

#AB60DB is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.7% C 0.188 H 310.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AB60DB
RGBrgb(171, 96, 219)
HSLhsl(277, 63%, 62%)
HSVhsv(277, 56%, 86%)
CMYKcmyk(21.9%, 56.2%, 0%, 14.1%)
CIE-LABlab(54.17, 51.63, -51.21)
CIE-LCHlch(54.17, 72.72, 315.23°)
OKLaboklab(62.68% 0.1216 -0.1438)
OKLCHoklch(62.68% 0.188 310.2)
XYZxyz(33.7612, 22.1388, 69.4988)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB60DB #90DB60
analogous
#6E60DB #AB60DB #DB60CE
triadic
#AB60DB #DBAB60 #60DBAB
tetradic
#AB60DB #DB6E60 #90DB60 #60CEDB
square
#AB60DB #DB6E60 #90DB60 #60CEDB
split-complementary
#AB60DB #CEDB60 #60DB6E
monochromatic
#6E249D #902FCF #AB60DB #C592E6 #E0C4F2

Accessibility & contrast

On white

3.87
#AB60DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#AB60DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB60DB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB60DB#FFFFFF#000000##000000
##AB60DB1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#5483D8
Tritanopia (blue-blind)
#A57694
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab60db;
/* rgb */ color: rgb(171, 96, 219);
/* oklch */ color: oklch(62.7% 0.188 310.2);
Tailwind
colors: {
  custom: {
    50: '#c790e7',
    500: '#ab60db',
    950: '#000000',
  },
}
SCSS
$custom: #ab60db;
$custom-light: #c790e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab60db",
  "rgb": {
    "r": 171,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 276.585,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62682,
    "c": 0.18831,
    "h": 310.2
  },
  "luminance": 0.22138
}

Semantic roles & 50–950 ramp

primary
#AB60DB
secondary
#C6E2B5
accent
#CB1B5F
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB60DB

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

Preview Lab → · Contrast checker → · Palette generator →

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