#AB7BBD#AB7BBD

#AB7BBD is a light, moderate purple. Relative luminance 0.265; OKLCH L 65.4% C 0.109 H 316.5°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AB7BBD
RGBrgb(171, 123, 189)
HSLhsl(284, 33%, 61%)
HSVhsv(284, 35%, 74%)
CMYKcmyk(9.5%, 34.9%, 0%, 25.9%)
CIE-LABlab(58.51, 30.49, -27.37)
CIE-LCHlch(58.51, 40.97, 318.08°)
OKLaboklab(65.45% 0.0792 -0.075)
OKLCHoklch(65.45% 0.109 316.5)
XYZxyz(33.0615, 26.4987, 51.5074)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BBD #8DBD7B
analogous
#8A7BBD #AB7BBD #BD7BAE
triadic
#AB7BBD #BDAB7B #7BBDAB
tetradic
#AB7BBD #BD8A7B #8DBD7B #7BAEBD
square
#AB7BBD #BD8A7B #8DBD7B #7BAEBD
split-complementary
#AB7BBD #AEBD7B #7BBD8A
monochromatic
#6D3F7E #9054A7 #AB7BBD #C5A4D1 #DFCDE6

Accessibility & contrast

On white

3.33
#AB7BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AB7BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BBD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BBD#FFFFFF#000000##000000
##AB7BBD1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#718AC0
Deuteranopia (green-blind)
#7D8EBB
Tritanopia (blue-blind)
#AB8393
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab7bbd;
/* rgb */ color: rgb(171, 123, 189);
/* oklch */ color: oklch(65.4% 0.109 316.5);
Tailwind
colors: {
  custom: {
    50: '#c5a2d1',
    500: '#ab7bbd',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bbd;
$custom-light: #c5a2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bbd",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 283.636,
    "s": 33.333,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65447,
    "c": 0.10907,
    "h": 316.5
  },
  "luminance": 0.26498
}

Semantic roles & 50–950 ramp

primary
#AB7BBD
secondary
#C4D6BE
accent
#AC3959
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AB7BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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