#AB76BF#AB76BF

#AB76BF is a light, vivid purple. Relative luminance 0.254; OKLCH L 64.7% C 0.120 H 316.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AB76BF
RGBrgb(171, 118, 191)
HSLhsl(284, 36%, 61%)
HSVhsv(284, 38%, 75%)
CMYKcmyk(10.5%, 38.2%, 0%, 25.1%)
CIE-LABlab(57.44, 33.71, -30.16)
CIE-LCHlch(57.44, 45.24, 318.18°)
OKLaboklab(64.67% 0.0871 -0.083)
OKLCHoklch(64.67% 0.12 316.4)
XYZxyz(32.6756, 25.3772, 52.4571)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB76BF #8ABF76
analogous
#8676BF #AB76BF #BF76AE
triadic
#AB76BF #BFAB76 #76BFAB
tetradic
#AB76BF #BF8676 #8ABF76 #76AEBF
square
#AB76BF #BF8676 #8ABF76 #76AEBF
split-complementary
#AB76BF #AEBF76 #76BF86
monochromatic
#6D3B7F #904FA9 #AB76BF #C5A0D2 #DEC9E6

Accessibility & contrast

On white

3.46
#AB76BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#AB76BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB76BF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB76BF#FFFFFF#000000##000000
##AB76BF1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B87C2
Deuteranopia (green-blind)
#788CBD
Tritanopia (blue-blind)
#AA7F92
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab76bf;
/* rgb */ color: rgb(171, 118, 191);
/* oklch */ color: oklch(64.7% 0.120 316.4);
Tailwind
colors: {
  custom: {
    50: '#c59ed2',
    500: '#ab76bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab76bf;
$custom-light: #c59ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab76bf",
  "rgb": {
    "r": 171,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 283.562,
    "s": 36.318,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64667,
    "c": 0.12032,
    "h": 316.4
  },
  "luminance": 0.25376
}

Semantic roles & 50–950 ramp

primary
#AB76BF
secondary
#C2D6BB
accent
#AF3657
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AB76BF

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

Preview Lab → · Contrast checker → · Palette generator →

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