#AB7BBB#AB7BBB

#AB7BBB is a light, moderate purple. Relative luminance 0.264; OKLCH L 65.4% C 0.107 H 317.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AB7BBB
RGBrgb(171, 123, 187)
HSLhsl(285, 32%, 61%)
HSVhsv(285, 34%, 73%)
CMYKcmyk(8.6%, 34.2%, 0%, 26.7%)
CIE-LABlab(58.43, 30.07, -26.36)
CIE-LCHlch(58.43, 39.99, 318.76°)
OKLaboklab(65.36% 0.0787 -0.0722)
OKLCHoklch(65.36% 0.107 317.5)
XYZxyz(32.8459, 26.4125, 50.3719)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BBB #8BBB7B
analogous
#8B7BBB #AB7BBB #BB7BAB
triadic
#AB7BBB #BBAB7B #7BBBAB
tetradic
#AB7BBB #BB8B7B #8BBB7B #7BABBB
square
#AB7BBB #BB8B7B #8BBB7B #7BABBB
split-complementary
#AB7BBB #ABBB7B #7BBB8B
monochromatic
#6D407C #9055A4 #AB7BBB #C5A3D0 #DECCE5

Accessibility & contrast

On white

3.34
#AB7BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#AB7BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BBB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BBB#FFFFFF#000000##000000
##AB7BBB1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7289BD
Deuteranopia (green-blind)
#7D8EB9
Tritanopia (blue-blind)
#AB8393
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab7bbb;
/* rgb */ color: rgb(171, 123, 187);
/* oklch */ color: oklch(65.4% 0.107 317.5);
Tailwind
colors: {
  custom: {
    50: '#c5a2cf',
    500: '#ab7bbb',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bbb;
$custom-light: #c5a2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bbb",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 187
  },
  "hsl": {
    "h": 285,
    "s": 32,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65359,
    "c": 0.10674,
    "h": 317.5
  },
  "luminance": 0.26412
}

Semantic roles & 50–950 ramp

primary
#AB7BBB
secondary
#C3D5BD
accent
#AB3B57
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AB7BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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