#AB8AAB#AB8AAB

#AB8AAB is a light, moderate purple. Relative luminance 0.298; OKLCH L 67.5% C 0.061 H 326.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AB8AAB
RGBrgb(171, 138, 171)
HSLhsl(300, 16%, 61%)
HSVhsv(300, 19%, 67%)
CMYKcmyk(0%, 19.3%, 0%, 32.9%)
CIE-LABlab(61.46, 18.37, -12.63)
CIE-LCHlch(61.46, 22.29, 325.48°)
OKLaboklab(67.49% 0.0507 -0.0339)
OKLCHoklch(67.49% 0.061 326.2)
XYZxyz(33.2329, 29.7759, 42.5168)
Luminance0.2978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8AAB #8AAB8A
analogous
#9A8AAB #AB8AAB #AB8A9A
triadic
#AB8AAB #ABAB8A #8AABAB
tetradic
#AB8AAB #AB9A8A #8AAB8A #8A9AAB
square
#AB8AAB #AB9A8A #8AAB8A #8A9AAB
split-complementary
#AB8AAB #9AAB8A #8AAB9A
monochromatic
#6D4E6D #906890 #AB8AAB #C5AEC5 #DED1DE

Accessibility & contrast

On white

3.02
#AB8AAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#AB8AAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8AAB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8AAB#FFFFFF#000000##000000
##AB8AAB1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8892AC
Deuteranopia (green-blind)
#8F96AA
Tritanopia (blue-blind)
#AD8D95
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab8aab;
/* rgb */ color: rgb(171, 138, 171);
/* oklch */ color: oklch(67.5% 0.061 326.2);
Tailwind
colors: {
  custom: {
    50: '#c4acc4',
    500: '#ab8aab',
    950: '#000000',
  },
}
SCSS
$custom: #ab8aab;
$custom-light: #c4acc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8aab",
  "rgb": {
    "r": 171,
    "g": 138,
    "b": 171
  },
  "hsl": {
    "h": 300,
    "s": 16.418,
    "l": 60.588
  },
  "oklch": {
    "l": 0.67487,
    "c": 0.06093,
    "h": 326.2
  },
  "luminance": 0.29775
}

Semantic roles & 50–950 ramp

primary
#AB8AAB
secondary
#C2CFC2
accent
#9B4B4B
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#121012
muted
#817F81

Preview Lab

Preview with #AB8AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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