#AB8AAA#AB8AAA

#AB8AAA is a light, muted purple. Relative luminance 0.297; OKLCH L 67.5% C 0.060 H 327.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#AB8AAA
RGBrgb(171, 138, 170)
HSLhsl(302, 16%, 61%)
HSVhsv(302, 19%, 67%)
CMYKcmyk(0%, 19.3%, 0.6%, 32.9%)
CIE-LABlab(61.43, 18.17, -12.11)
CIE-LCHlch(61.43, 21.84, 326.31°)
OKLaboklab(67.45% 0.0503 -0.0324)
OKLCHoklch(67.45% 0.06 327.2)
XYZxyz(33.1379, 29.7379, 42.0168)
Luminance0.2974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8AAA #8AAB8B
analogous
#9B8AAB #AB8AAA #AB8A99
triadic
#AB8AAA #AAAB8A #8AAAAB
tetradic
#AB8AAA #AB9B8A #8AAB8B #8A99AB
square
#AB8AAA #AB9B8A #8AAB8B #8A99AB
split-complementary
#AB8AAA #99AB8A #8AAB9B
monochromatic
#6D4E6C #90688F #AB8AAA #C5AEC4 #DED1DE

Accessibility & contrast

On white

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

On black

6.95
#AB8AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8AAA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8AAA#FFFFFF#000000##000000
##AB8AAA1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8892AB
Deuteranopia (green-blind)
#8F96A9
Tritanopia (blue-blind)
#AD8C95
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab8aaa;
/* rgb */ color: rgb(171, 138, 170);
/* oklch */ color: oklch(67.5% 0.060 327.2);
Tailwind
colors: {
  custom: {
    50: '#c4acc3',
    500: '#ab8aaa',
    950: '#000000',
  },
}
SCSS
$custom: #ab8aaa;
$custom-light: #c4acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8aaa",
  "rgb": {
    "r": 171,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 301.818,
    "s": 16.418,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6745,
    "c": 0.05986,
    "h": 327.2
  },
  "luminance": 0.29737
}

Semantic roles & 50–950 ramp

primary
#AB8AAA
secondary
#C2CFC3
accent
#9B4D4B
background
#FCFAFB
surface
#F8F4F7
border
#D1CED0
text
#121012
muted
#817F81

Preview Lab

Preview with #AB8AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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