#AB60CD#AB60CD

#AB60CD is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.9% C 0.173 H 314.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB60CD
RGBrgb(171, 96, 205)
HSLhsl(281, 52%, 59%)
HSVhsv(281, 53%, 80%)
CMYKcmyk(16.6%, 53.2%, 0%, 19.6%)
CIE-LABlab(53.42, 48.60, -44.46)
CIE-LCHlch(53.42, 65.87, 317.55°)
OKLaboklab(61.88% 0.1207 -0.1241)
OKLCHoklch(61.88% 0.173 314.2)
XYZxyz(31.9951, 21.4323, 60.1972)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB60CD #82CD60
analogous
#7560CD #AB60CD #CD60B9
triadic
#AB60CD #CDAB60 #60CDAB
tetradic
#AB60CD #CD7560 #82CD60 #60B9CD
square
#AB60CD #CD7560 #82CD60 #60B9CD
split-complementary
#AB60CD #B9CD60 #60CD75
monochromatic
#6B2B88 #8F39B6 #AB60CD #C48FDC #DCBDEA

Accessibility & contrast

On white

3.97
#AB60CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#AB60CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB60CD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB60CD#FFFFFF#000000##000000
##AB60CD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#5E82CA
Tritanopia (blue-blind)
#A8728D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab60cd;
/* rgb */ color: rgb(171, 96, 205);
/* oklch */ color: oklch(61.9% 0.173 314.2);
Tailwind
colors: {
  custom: {
    50: '#c690dd',
    500: '#ab60cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab60cd;
$custom-light: #c690dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab60cd",
  "rgb": {
    "r": 171,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 281.284,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61883,
    "c": 0.17314,
    "h": 314.2
  },
  "luminance": 0.21431
}

Semantic roles & 50–950 ramp

primary
#AB60CD
secondary
#BCDAAF
accent
#DC4C79
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB60CD

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

Preview Lab → · Contrast checker → · Palette generator →

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