#AB66CC#AB66CC

#AB66CC is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.7% C 0.162 H 313.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AB66CC
RGBrgb(171, 102, 204)
HSLhsl(281, 50%, 60%)
HSVhsv(281, 50%, 80%)
CMYKcmyk(16.2%, 50%, 0%, 20%)
CIE-LABlab(54.58, 45.23, -42.06)
CIE-LCHlch(54.58, 61.76, 317.08°)
OKLaboklab(62.72% 0.1125 -0.1172)
OKLCHoklch(62.72% 0.162 313.8)
XYZxyz(32.4432, 22.5211, 59.7530)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66CC #87CC66
analogous
#7866CC #AB66CC #CC66BA
triadic
#AB66CC #CCAB66 #66CCAB
tetradic
#AB66CC #CC7866 #87CC66 #66BACC
square
#AB66CC #CC7866 #87CC66 #66BACC
split-complementary
#AB66CC #BACC66 #66CC78
monochromatic
#6C2E8A #903DB8 #AB66CC #C494DB #DDC2EB

Accessibility & contrast

On white

3.82
#AB66CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#AB66CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66CC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66CC#FFFFFF#000000##000000
##AB66CC1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FCF
Deuteranopia (green-blind)
#6484C9
Tritanopia (blue-blind)
#A87690
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab66cc;
/* rgb */ color: rgb(171, 102, 204);
/* oklch */ color: oklch(62.7% 0.162 313.8);
Tailwind
colors: {
  custom: {
    50: '#c694dc',
    500: '#ab66cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab66cc;
$custom-light: #c694dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66cc",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 280.588,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.6272,
    "c": 0.16239,
    "h": 313.8
  },
  "luminance": 0.2252
}

Semantic roles & 50–950 ramp

primary
#AB66CC
secondary
#C0DBB3
accent
#DA4E7B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB66CC

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

Preview Lab → · Contrast checker → · Palette generator →

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