#AB66BB#AB66BB

#AB66BB is a mid, vivid purple. Relative luminance 0.217; OKLCH L 61.8% C 0.144 H 319.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB66BB
RGBrgb(171, 102, 187)
HSLhsl(289, 38%, 57%)
HSVhsv(289, 45%, 73%)
CMYKcmyk(8.6%, 45.5%, 0%, 26.7%)
CIE-LABlab(53.76, 41.68, -33.61)
CIE-LCHlch(53.76, 53.54, 321.12°)
OKLaboklab(61.85% 0.11 -0.0927)
OKLCHoklch(61.85% 0.144 319.9)
XYZxyz(30.5145, 21.7496, 49.5948)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66BB #76BB66
analogous
#8166BB #AB66BB #BB66A1
triadic
#AB66BB #BBAB66 #66BBAB
tetradic
#AB66BB #BB8166 #76BB66 #66A1BB
square
#AB66BB #BB8166 #76BB66 #66A1BB
split-complementary
#AB66BB #A1BB66 #66BB81
monochromatic
#673373 #8D469E #AB66BB #C290CE #DABBE1

Accessibility & contrast

On white

3.93
#AB66BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AB66BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66BB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66BB#FFFFFF#000000##000000
##AB66BB1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBE
Deuteranopia (green-blind)
#6C83B9
Tritanopia (blue-blind)
#AC7188
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab66bb;
/* rgb */ color: rgb(171, 102, 187);
/* oklch */ color: oklch(61.8% 0.144 319.9);
Tailwind
colors: {
  custom: {
    50: '#c693d0',
    500: '#ab66bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab66bb;
$custom-light: #c693d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66bb",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 288.706,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61848,
    "c": 0.14388,
    "h": 319.9
  },
  "luminance": 0.21749
}

Semantic roles & 50–950 ramp

primary
#AB66BB
secondary
#B4D0AD
accent
#CE596F
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #AB66BB

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

Preview Lab → · Contrast checker → · Palette generator →

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