#AB7BB3#AB7BB3

#AB7BB3 is a light, moderate purple. Relative luminance 0.261; OKLCH L 65.0% C 0.098 H 321.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AB7BB3
RGBrgb(171, 123, 179)
HSLhsl(291, 27%, 59%)
HSVhsv(291, 31%, 70%)
CMYKcmyk(4.5%, 31.3%, 0%, 29.8%)
CIE-LABlab(58.11, 28.43, -22.28)
CIE-LCHlch(58.11, 36.12, 321.92°)
OKLaboklab(65.02% 0.0765 -0.0606)
OKLCHoklch(65.02% 0.098 321.6)
XYZxyz(32.0132, 26.0794, 45.9865)
Luminance0.2608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BB3 #83B37B
analogous
#8F7BB3 #AB7BB3 #B37B9F
triadic
#AB7BB3 #B3AB7B #7BB3AB
tetradic
#AB7BB3 #B38F7B #83B37B #7B9FB3
square
#AB7BB3 #B38F7B #83B37B #7B9FB3
split-complementary
#AB7BB3 #9FB37B #7BB38F
monochromatic
#6B4272 #905899 #AB7BB3 #C4A2C9 #DCC9E0

Accessibility & contrast

On white

3.38
#AB7BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#AB7BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BB3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BB3#FFFFFF#000000##000000
##AB7BB31.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7588B5
Deuteranopia (green-blind)
#808EB1
Tritanopia (blue-blind)
#AD818F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab7bb3;
/* rgb */ color: rgb(171, 123, 179);
/* oklch */ color: oklch(65.0% 0.098 321.6);
Tailwind
colors: {
  custom: {
    50: '#c5a2ca',
    500: '#ab7bb3',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bb3;
$custom-light: #c5a2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bb3",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 179
  },
  "hsl": {
    "h": 291.429,
    "s": 26.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65017,
    "c": 0.09763,
    "h": 321.6
  },
  "luminance": 0.26079
}

Semantic roles & 50–950 ramp

primary
#AB7BB3
secondary
#BDD0BA
accent
#C36572
background
#FCFAFC
surface
#F8F3F8
border
#D1CDD1
text
#130F13
muted
#827F82

Preview Lab

Preview with #AB7BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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