#AB60C7#AB60C7

#AB60C7 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.6% C 0.167 H 316.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AB60C7
RGBrgb(171, 96, 199)
HSLhsl(284, 48%, 58%)
HSVhsv(284, 52%, 78%)
CMYKcmyk(14.1%, 51.8%, 0%, 22%)
CIE-LABlab(53.11, 47.33, -41.52)
CIE-LCHlch(53.11, 62.96, 318.74°)
OKLaboklab(61.56% 0.1202 -0.1155)
OKLCHoklch(61.56% 0.167 316.1)
XYZxyz(31.2847, 21.1482, 56.4558)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB60C7 #7CC760
analogous
#7760C7 #AB60C7 #C760B0
triadic
#AB60C7 #C7AB60 #60C7AB
tetradic
#AB60C7 #C77760 #7CC760 #60B0C7
square
#AB60C7 #C77760 #7CC760 #60B0C7
split-complementary
#AB60C7 #B0C760 #60C777
monochromatic
#692D80 #8E3DAD #AB60C7 #C38DD7 #DBBBE7

Accessibility & contrast

On white

4.02
#AB60C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AB60C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB60C7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB60C7#FFFFFF#000000##000000
##AB60C71.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ACA
Deuteranopia (green-blind)
#6181C4
Tritanopia (blue-blind)
#AA708B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab60c7;
/* rgb */ color: rgb(171, 96, 199);
/* oklch */ color: oklch(61.6% 0.167 316.1);
Tailwind
colors: {
  custom: {
    50: '#c690d8',
    500: '#ab60c7',
    950: '#000000',
  },
}
SCSS
$custom: #ab60c7;
$custom-light: #c690d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab60c7",
  "rgb": {
    "r": 171,
    "g": 96,
    "b": 199
  },
  "hsl": {
    "h": 283.689,
    "s": 47.907,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61555,
    "c": 0.16671,
    "h": 316.1
  },
  "luminance": 0.21147
}

Semantic roles & 50–950 ramp

primary
#AB60C7
secondary
#B8D6AD
accent
#D75075
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #AB60C7

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

Preview Lab → · Contrast checker → · Palette generator →

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