#AB60E5#AB60E5

#AB60E5 is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.3% C 0.199 H 307.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AB60E5
RGBrgb(171, 96, 229)
HSLhsl(274, 72%, 64%)
HSVhsv(274, 58%, 90%)
CMYKcmyk(25.3%, 58.1%, 0%, 10.2%)
CIE-LABlab(54.74, 53.86, -55.94)
CIE-LCHlch(54.74, 77.65, 313.91°)
OKLaboklab(63.28% 0.1218 -0.1576)
OKLCHoklch(63.28% 0.199 307.7)
XYZxyz(35.1174, 22.6813, 76.6415)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB60E5 #9AE560
analogous
#6860E5 #AB60E5 #E560DC
triadic
#AB60E5 #E5AB60 #60E5AB
tetradic
#AB60E5 #E56860 #9AE560 #60DCE5
square
#AB60E5 #E56860 #9AE560 #60DCE5
split-complementary
#AB60E5 #DCE560 #60E568
monochromatic
#6F1CAE #8F2BDC #AB60E5 #C795EE #E3C9F6

Accessibility & contrast

On white

3.79
#AB60E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#AB60E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB60E5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB60E5#FFFFFF#000000##000000
##AB60E51.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B80E9
Deuteranopia (green-blind)
#4C84E2
Tritanopia (blue-blind)
#A2799A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab60e5;
/* rgb */ color: rgb(171, 96, 229);
/* oklch */ color: oklch(63.3% 0.199 307.7);
Tailwind
colors: {
  custom: {
    50: '#c790ee',
    500: '#ab60e5',
    950: '#000000',
  },
}
SCSS
$custom: #ab60e5;
$custom-light: #c790ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab60e5",
  "rgb": {
    "r": 171,
    "g": 96,
    "b": 229
  },
  "hsl": {
    "h": 273.835,
    "s": 71.892,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63281,
    "c": 0.19921,
    "h": 307.7
  },
  "luminance": 0.22681
}

Semantic roles & 50–950 ramp

primary
#AB60E5
secondary
#CDE8B9
accent
#D41266
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AB60E5

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

Preview Lab → · Contrast checker → · Palette generator →

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