#BA77BB#BA77BB

#BA77BB is a light, vivid purple. Relative luminance 0.272; OKLCH L 66.3% C 0.123 H 326.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#BA77BB
RGBrgb(186, 119, 187)
HSLhsl(299, 33%, 60%)
HSVhsv(299, 36%, 73%)
CMYKcmyk(0.5%, 36.4%, 0%, 26.7%)
CIE-LABlab(59.18, 37.10, -25.06)
CIE-LCHlch(59.18, 44.77, 325.96°)
OKLaboklab(66.3% 0.1025 -0.0682)
OKLCHoklch(66.3% 0.123 326.3)
XYZxyz(35.8154, 27.2221, 50.3719)
Luminance0.2722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77BB #78BB77
analogous
#9877BB #BA77BB #BB779A
triadic
#BA77BB #BBBA77 #77BBBA
tetradic
#BA77BB #BB9877 #78BB77 #779ABB
square
#BA77BB #BB9877 #78BB77 #779ABB
split-complementary
#BA77BB #9ABB77 #77BB98
monochromatic
#7A3D7A #A252A3 #BA77BB #CFA0CF #E3C9E4

Accessibility & contrast

On white

3.26
#BA77BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#BA77BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77BB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77BB#FFFFFF#000000##000000
##BA77BB1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7289BE
Deuteranopia (green-blind)
#8391B9
Tritanopia (blue-blind)
#BE7D90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba77bb;
/* rgb */ color: rgb(186, 119, 187);
/* oklch */ color: oklch(66.3% 0.123 326.3);
Tailwind
colors: {
  custom: {
    50: '#d09fcf',
    500: '#ba77bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba77bb;
$custom-light: #d09fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77bb",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 299.118,
    "s": 33.333,
    "l": 60
  },
  "oklch": {
    "l": 0.66299,
    "c": 0.12309,
    "h": 326.3
  },
  "luminance": 0.27221
}

Semantic roles & 50–950 ramp

primary
#BA77BB
secondary
#BAD4BA
accent
#C95E60
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140F14
muted
#827E82

Preview Lab

Preview with #BA77BB

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

Preview Lab → · Contrast checker → · Palette generator →

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