#AB7BBC#AB7BBC

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

Color values

HEX#AB7BBC
RGBrgb(171, 123, 188)
HSLhsl(284, 33%, 61%)
HSVhsv(284, 35%, 74%)
CMYKcmyk(9%, 34.6%, 0%, 26.3%)
CIE-LABlab(58.47, 30.28, -26.87)
CIE-LCHlch(58.47, 40.48, 318.42°)
OKLaboklab(65.4% 0.0789 -0.0736)
OKLCHoklch(65.4% 0.108 317)
XYZxyz(32.9533, 26.4554, 50.9377)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7BBC #8CBC7B
analogous
#8A7BBC #AB7BBC #BC7BAC
triadic
#AB7BBC #BCAB7B #7BBCAB
tetradic
#AB7BBC #BC8A7B #8CBC7B #7BACBC
square
#AB7BBC #BC8A7B #8CBC7B #7BACBC
split-complementary
#AB7BBC #ACBC7B #7BBC8A
monochromatic
#6D3F7D #9054A6 #AB7BBC #C5A4D1 #DFCCE5

Accessibility & contrast

On white

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

On black

6.29
#AB7BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7BBC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7BBC#FFFFFF#000000##000000
##AB7BBC1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABE
Deuteranopia (green-blind)
#7D8EBA
Tritanopia (blue-blind)
#AB8393
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab7bbc;
/* rgb */ color: rgb(171, 123, 188);
/* oklch */ color: oklch(65.4% 0.108 317.0);
Tailwind
colors: {
  custom: {
    50: '#c5a2d0',
    500: '#ab7bbc',
    950: '#000000',
  },
}
SCSS
$custom: #ab7bbc;
$custom-light: #c5a2d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7bbc",
  "rgb": {
    "r": 171,
    "g": 123,
    "b": 188
  },
  "hsl": {
    "h": 284.308,
    "s": 32.663,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65403,
    "c": 0.10791,
    "h": 317
  },
  "luminance": 0.26455
}

Semantic roles & 50–950 ramp

primary
#AB7BBC
secondary
#C4D6BD
accent
#AB3A58
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AB7BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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