#AB78BB#AB78BB

#AB78BB is a light, moderate purple. Relative luminance 0.257; OKLCH L 64.8% C 0.112 H 317.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AB78BB
RGBrgb(171, 120, 187)
HSLhsl(286, 33%, 60%)
HSVhsv(286, 36%, 73%)
CMYKcmyk(8.6%, 35.8%, 0%, 26.7%)
CIE-LABlab(57.73, 31.75, -27.43)
CIE-LCHlch(57.73, 41.96, 319.18°)
OKLaboklab(64.83% 0.0832 -0.0752)
OKLCHoklch(64.83% 0.112 317.9)
XYZxyz(32.4794, 25.6796, 50.2498)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78BB #88BB78
analogous
#8A78BB #AB78BB #BB78A9
triadic
#AB78BB #BBAB78 #78BBAB
tetradic
#AB78BB #BB8A78 #88BB78 #78A9BB
square
#AB78BB #BB8A78 #88BB78 #78A9BB
split-complementary
#AB78BB #A9BB78 #78BB8A
monochromatic
#6C3E7B #9052A3 #AB78BB #C4A1D0 #DEC9E4

Accessibility & contrast

On white

3.42
#AB78BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AB78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78BB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78BB#FFFFFF#000000##000000
##AB78BB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F87BE
Deuteranopia (green-blind)
#7B8CB9
Tritanopia (blue-blind)
#AB8091
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab78bb;
/* rgb */ color: rgb(171, 120, 187);
/* oklch */ color: oklch(64.8% 0.112 317.9);
Tailwind
colors: {
  custom: {
    50: '#c5a0cf',
    500: '#ab78bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab78bb;
$custom-light: #c5a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78bb",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 285.672,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64832,
    "c": 0.11214,
    "h": 317.9
  },
  "luminance": 0.25679
}

Semantic roles & 50–950 ramp

primary
#AB78BB
secondary
#C1D4BB
accent
#AC3A55
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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