#AB79BD#AB79BD

#AB79BD is a light, moderate purple. Relative luminance 0.260; OKLCH L 65.1% C 0.113 H 316.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AB79BD
RGBrgb(171, 121, 189)
HSLhsl(284, 34%, 61%)
HSVhsv(284, 36%, 74%)
CMYKcmyk(9.5%, 36%, 0%, 25.9%)
CIE-LABlab(58.04, 31.61, -28.09)
CIE-LCHlch(58.04, 42.29, 318.37°)
OKLaboklab(65.1% 0.0822 -0.0771)
OKLCHoklch(65.1% 0.113 316.8)
XYZxyz(32.8159, 26.0076, 51.4255)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB79BD #8BBD79
analogous
#8979BD #AB79BD #BD79AD
triadic
#AB79BD #BDAB79 #79BDAB
tetradic
#AB79BD #BD8979 #8BBD79 #79ADBD
square
#AB79BD #BD8979 #8BBD79 #79ADBD
split-complementary
#AB79BD #ADBD79 #79BD89
monochromatic
#6D3E7E #9052A7 #AB79BD #C5A2D1 #DECBE5

Accessibility & contrast

On white

3.39
#AB79BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#AB79BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB79BD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB79BD#FFFFFF#000000##000000
##AB79BD1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88C0
Deuteranopia (green-blind)
#7B8DBB
Tritanopia (blue-blind)
#AB8192
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab79bd;
/* rgb */ color: rgb(171, 121, 189);
/* oklch */ color: oklch(65.1% 0.113 316.8);
Tailwind
colors: {
  custom: {
    50: '#c5a0d1',
    500: '#ab79bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab79bd;
$custom-light: #c5a0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab79bd",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 189
  },
  "hsl": {
    "h": 284.118,
    "s": 34,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65096,
    "c": 0.11266,
    "h": 316.8
  },
  "luminance": 0.26007
}

Semantic roles & 50–950 ramp

primary
#AB79BD
secondary
#C3D6BC
accent
#AD3957
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #AB79BD

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

Preview Lab → · Contrast checker → · Palette generator →

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