#AB8ABA#AB8ABA

#AB8ABA is a light, moderate purple. Relative luminance 0.304; OKLCH L 68.1% C 0.078 H 315.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AB8ABA
RGBrgb(171, 138, 186)
HSLhsl(281, 26%, 64%)
HSVhsv(281, 26%, 73%)
CMYKcmyk(8.1%, 25.8%, 0%, 27.1%)
CIE-LABlab(61.98, 21.38, -20.34)
CIE-LCHlch(61.98, 29.51, 316.43°)
OKLaboklab(68.06% 0.0555 -0.0553)
OKLCHoklch(68.06% 0.078 315.1)
XYZxyz(34.7446, 30.3806, 50.4786)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8ABA #99BA8A
analogous
#938ABA #AB8ABA #BA8AB1
triadic
#AB8ABA #BAAB8A #8ABAAB
tetradic
#AB8ABA #BA938A #99BA8A #8AB1BA
square
#AB8ABA #BA938A #99BA8A #8AB1BA
split-complementary
#AB8ABA #B1BA8A #8ABA93
monochromatic
#6F4B7F #8F64A3 #AB8ABA #C7B0D1 #E2D7E7

Accessibility & contrast

On white

2.97
#AB8ABA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AB8ABA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8ABA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8ABA#FFFFFF#000000##000000
##AB8ABA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8494BC
Deuteranopia (green-blind)
#8B97B8
Tritanopia (blue-blind)
#AA909B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab8aba;
/* rgb */ color: rgb(171, 138, 186);
/* oklch */ color: oklch(68.1% 0.078 315.1);
Tailwind
colors: {
  custom: {
    50: '#c4acce',
    500: '#ab8aba',
    950: '#000000',
  },
}
SCSS
$custom: #ab8aba;
$custom-light: #c4acce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8aba",
  "rgb": {
    "r": 171,
    "g": 138,
    "b": 186
  },
  "hsl": {
    "h": 281.25,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68059,
    "c": 0.07833,
    "h": 315.1
  },
  "luminance": 0.3038
}

Semantic roles & 50–950 ramp

primary
#AB8ABA
secondary
#CDD8C7
accent
#A44160
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#121013
muted
#817F82

Preview Lab

Preview with #AB8ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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