#AB60CC#AB60CC

#AB60CC is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.8% C 0.172 H 314.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB60CC
RGBrgb(171, 96, 204)
HSLhsl(282, 51%, 59%)
HSVhsv(282, 53%, 80%)
CMYKcmyk(16.2%, 52.9%, 0%, 20%)
CIE-LABlab(53.37, 48.38, -43.97)
CIE-LCHlch(53.37, 65.38, 317.74°)
OKLaboklab(61.83% 0.1207 -0.1227)
OKLCHoklch(61.83% 0.172 314.5)
XYZxyz(31.8748, 21.3842, 59.5635)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB60CC #81CC60
analogous
#7560CC #AB60CC #CC60B7
triadic
#AB60CC #CCAB60 #60CCAB
tetradic
#AB60CC #CC7560 #81CC60 #60B7CC
square
#AB60CC #CC7560 #81CC60 #60B7CC
split-complementary
#AB60CC #B7CC60 #60CC75
monochromatic
#6B2B86 #8F3AB5 #AB60CC #C38EDB #DCBDEA

Accessibility & contrast

On white

3.98
#AB60CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#AB60CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB60CC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB60CC#FFFFFF#000000##000000
##AB60CC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD0
Deuteranopia (green-blind)
#5E81C9
Tritanopia (blue-blind)
#A9718D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab60cc;
/* rgb */ color: rgb(171, 96, 204);
/* oklch */ color: oklch(61.8% 0.172 314.5);
Tailwind
colors: {
  custom: {
    50: '#c690dc',
    500: '#ab60cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab60cc;
$custom-light: #c690dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab60cc",
  "rgb": {
    "r": 171,
    "g": 96,
    "b": 204
  },
  "hsl": {
    "h": 281.667,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61827,
    "c": 0.17207,
    "h": 314.5
  },
  "luminance": 0.21383
}

Semantic roles & 50–950 ramp

primary
#AB60CC
secondary
#BCD9AF
accent
#DB4D78
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB60CC

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

Preview Lab → · Contrast checker → · Palette generator →

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