#BA77BD#BA77BD

#BA77BD is a light, vivid purple. Relative luminance 0.273; OKLCH L 66.4% C 0.125 H 325.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#BA77BD
RGBrgb(186, 119, 189)
HSLhsl(297, 35%, 60%)
HSVhsv(297, 37%, 74%)
CMYKcmyk(1.6%, 37%, 0%, 25.9%)
CIE-LABlab(59.26, 37.48, -26.08)
CIE-LCHlch(59.26, 45.66, 325.17°)
OKLaboklab(66.39% 0.103 -0.0711)
OKLCHoklch(66.39% 0.125 325.4)
XYZxyz(36.0310, 27.3083, 51.5073)
Luminance0.2731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77BD #7ABD77
analogous
#9777BD #BA77BD #BD779D
triadic
#BA77BD #BDBA77 #77BDBA
tetradic
#BA77BD #BD9777 #7ABD77 #779DBD
square
#BA77BD #BD9777 #7ABD77 #779DBD
split-complementary
#BA77BD #9DBD77 #77BD97
monochromatic
#7A3D7D #A251A6 #BA77BD #CFA0D1 #E4C9E5

Accessibility & contrast

On white

3.25
#BA77BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#BA77BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77BD
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77BD#FFFFFF#000000##000000
##BA77BD1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189C0
Deuteranopia (green-blind)
#8292BB
Tritanopia (blue-blind)
#BD7E91
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba77bd;
/* rgb */ color: rgb(186, 119, 189);
/* oklch */ color: oklch(66.4% 0.125 325.4);
Tailwind
colors: {
  custom: {
    50: '#d09fd1',
    500: '#ba77bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba77bd;
$custom-light: #d09fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77bd",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 189
  },
  "hsl": {
    "h": 297.429,
    "s": 34.653,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66385,
    "c": 0.12511,
    "h": 325.4
  },
  "luminance": 0.27307
}

Semantic roles & 50–950 ramp

primary
#BA77BD
secondary
#BCD5BB
accent
#AD383D
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140F14
muted
#827E82

Preview Lab

Preview with #BA77BD

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

Preview Lab → · Contrast checker → · Palette generator →

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