#BA77BC#BA77BC

#BA77BC is a light, vivid purple. Relative luminance 0.273; OKLCH L 66.3% C 0.124 H 325.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#BA77BC
RGBrgb(186, 119, 188)
HSLhsl(298, 34%, 60%)
HSVhsv(298, 37%, 74%)
CMYKcmyk(1.1%, 36.7%, 0%, 26.3%)
CIE-LABlab(59.22, 37.29, -25.57)
CIE-LCHlch(59.22, 45.21, 325.56°)
OKLaboklab(66.34% 0.1027 -0.0696)
OKLCHoklch(66.34% 0.124 325.9)
XYZxyz(35.9228, 27.2650, 50.9376)
Luminance0.2726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77BC #79BC77
analogous
#9777BC #BA77BC #BC779B
triadic
#BA77BC #BCBA77 #77BCBA
tetradic
#BA77BC #BC9777 #79BC77 #779BBC
square
#BA77BC #BC9777 #79BC77 #779BBC
split-complementary
#BA77BC #9BBC77 #77BC97
monochromatic
#7A3D7C #A251A5 #BA77BC #CFA0D0 #E4C9E4

Accessibility & contrast

On white

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

On black

6.45
#BA77BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77BC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77BC#FFFFFF#000000##000000
##BA77BC1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BF
Deuteranopia (green-blind)
#8292BA
Tritanopia (blue-blind)
#BE7E91
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba77bc;
/* rgb */ color: rgb(186, 119, 188);
/* oklch */ color: oklch(66.3% 0.124 325.9);
Tailwind
colors: {
  custom: {
    50: '#d09fd0',
    500: '#ba77bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba77bc;
$custom-light: #d09fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77bc",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 298.261,
    "s": 33.99,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66342,
    "c": 0.12409,
    "h": 325.9
  },
  "luminance": 0.27264
}

Semantic roles & 50–950 ramp

primary
#BA77BC
secondary
#BBD5BA
accent
#AD393C
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140F14
muted
#827E82

Preview Lab

Preview with #BA77BC

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

Preview Lab → · Contrast checker → · Palette generator →

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