#AB78BF#AB78BF

#AB78BF is a light, moderate purple. Relative luminance 0.259; OKLCH L 65.0% C 0.117 H 316.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AB78BF
RGBrgb(171, 120, 191)
HSLhsl(283, 36%, 61%)
HSVhsv(283, 37%, 75%)
CMYKcmyk(10.5%, 37.2%, 0%, 25.1%)
CIE-LABlab(57.90, 32.59, -29.46)
CIE-LCHlch(57.90, 43.93, 317.89°)
OKLaboklab(65.01% 0.0842 -0.081)
OKLCHoklch(65.01% 0.117 316.1)
XYZxyz(32.9136, 25.8532, 52.5365)
Luminance0.2585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78BF #8CBF78
analogous
#8778BF #AB78BF #BF78AF
triadic
#AB78BF #BFAB78 #78BFAB
tetradic
#AB78BF #BF8778 #8CBF78 #78AFBF
square
#AB78BF #BF8778 #8CBF78 #78AFBF
split-complementary
#AB78BF #AFBF78 #78BF87
monochromatic
#6D3D80 #9050A9 #AB78BF #C5A2D3 #DFCBE6

Accessibility & contrast

On white

3.40
#AB78BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AB78BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78BF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78BF#FFFFFF#000000##000000
##AB78BF1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D88C2
Deuteranopia (green-blind)
#798DBD
Tritanopia (blue-blind)
#AA8193
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab78bf;
/* rgb */ color: rgb(171, 120, 191);
/* oklch */ color: oklch(65.0% 0.117 316.1);
Tailwind
colors: {
  custom: {
    50: '#c5a0d2',
    500: '#ab78bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab78bf;
$custom-light: #c5a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78bf",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 283.099,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65012,
    "c": 0.11677,
    "h": 316.1
  },
  "luminance": 0.25852
}

Semantic roles & 50–950 ramp

primary
#AB78BF
secondary
#C4D7BC
accent
#AF3759
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB78BF

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

Preview Lab → · Contrast checker → · Palette generator →

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