#AB8BB2#AB8BB2

#AB8BB2 is a light, moderate purple. Relative luminance 0.303; OKLCH L 67.9% C 0.067 H 320.2°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#AB8BB2
RGBrgb(171, 139, 178)
HSLhsl(289, 20%, 62%)
HSVhsv(289, 22%, 70%)
CMYKcmyk(3.9%, 21.9%, 0%, 30.2%)
CIE-LABlab(61.94, 19.18, -15.87)
CIE-LCHlch(61.94, 24.90, 320.40°)
OKLaboklab(67.94% 0.0514 -0.0428)
OKLCHoklch(67.94% 0.067 320.2)
XYZxyz(34.0620, 30.3381, 46.1723)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8BB2 #92B28B
analogous
#988BB2 #AB8BB2 #B28BA6
triadic
#AB8BB2 #B2AB8B #8BB2AB
tetradic
#AB8BB2 #B2988B #92B28B #8BA6B2
square
#AB8BB2 #B2988B #92B28B #8BA6B2
split-complementary
#AB8BB2 #A6B28B #8BB298
monochromatic
#6E4E75 #90669A #AB8BB2 #C6B0CA #E0D5E3

Accessibility & contrast

On white

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

On black

7.07
#AB8BB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8BB2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8BB2#FFFFFF#000000##000000
##AB8BB21.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8793B4
Deuteranopia (green-blind)
#8E97B1
Tritanopia (blue-blind)
#AC8F98
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab8bb2;
/* rgb */ color: rgb(171, 139, 178);
/* oklch */ color: oklch(67.9% 0.067 320.2);
Tailwind
colors: {
  custom: {
    50: '#c4adc9',
    500: '#ab8bb2',
    950: '#000000',
  },
}
SCSS
$custom: #ab8bb2;
$custom-light: #c4adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8bb2",
  "rgb": {
    "r": 171,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 289.231,
    "s": 20.207,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67938,
    "c": 0.06693,
    "h": 320.2
  },
  "luminance": 0.30338
}

Semantic roles & 50–950 ramp

primary
#AB8BB2
secondary
#C8D4C5
accent
#9F4757
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#121013
muted
#817F82

Preview Lab

Preview with #AB8BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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