#AB7BB2#AB7BB2

#AB7BB2 is a light, moderate purple. Relative luminance 0.260; OKLCH L 65.0% C 0.097 H 322.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AB7BB2
RGBrgb(171, 123, 178)
HSLhsl(292, 26%, 59%)
HSVhsv(292, 31%, 70%)
CMYKcmyk(3.9%, 30.9%, 0%, 30.2%)
CIE-LABlab(58.07, 28.23, -21.76)
CIE-LCHlch(58.07, 35.65, 322.37°)
OKLaboklab(64.98% 0.0763 -0.0592)
OKLCHoklch(64.98% 0.097 322.2)
XYZxyz(31.9125, 26.0391, 45.4558)
Luminance0.2604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BB2 #82B27B
analogous
#907BB2 #AB7BB2 #B27B9E
triadic
#AB7BB2 #B2AB7B #7BB2AB
tetradic
#AB7BB2 #B2907B #82B27B #7B9EB2
square
#AB7BB2 #B2907B #82B27B #7B9EB2
split-complementary
#AB7BB2 #9EB27B #7BB290
monochromatic
#6B4271 #8F5897 #AB7BB2 #C4A2C9 #DCC8DF

Accessibility & contrast

On white

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

On black

6.21
#AB7BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BB2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BB2#FFFFFF#000000##000000
##AB7BB21.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7588B4
Deuteranopia (green-blind)
#818DB0
Tritanopia (blue-blind)
#AD818F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab7bb2;
/* rgb */ color: rgb(171, 123, 178);
/* oklch */ color: oklch(65.0% 0.097 322.2);
Tailwind
colors: {
  custom: {
    50: '#c4a2c9',
    500: '#ab7bb2',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bb2;
$custom-light: #c4a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bb2",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 292.364,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64975,
    "c": 0.09652,
    "h": 322.2
  },
  "luminance": 0.26038
}

Semantic roles & 50–950 ramp

primary
#AB7BB2
secondary
#BCCFBA
accent
#C36571
background
#FCFAFC
surface
#F8F3F8
border
#D1CDD1
text
#130F13
muted
#827F82

Preview Lab

Preview with #AB7BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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