#BA77BF#BA77BF

#BA77BF is a light, vivid purple. Relative luminance 0.274; OKLCH L 66.5% C 0.127 H 324.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#BA77BF
RGBrgb(186, 119, 191)
HSLhsl(296, 36%, 61%)
HSVhsv(296, 38%, 75%)
CMYKcmyk(2.6%, 37.7%, 0%, 25.1%)
CIE-LABlab(59.34, 37.86, -27.09)
CIE-LCHlch(59.34, 46.56, 324.41°)
OKLaboklab(66.47% 0.1034 -0.074)
OKLCHoklch(66.47% 0.127 324.4)
XYZxyz(36.2496, 27.3957, 52.6586)
Luminance0.2739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77BF #7CBF77
analogous
#9677BF #BA77BF #BF77A0
triadic
#BA77BF #BFBA77 #77BFBA
tetradic
#BA77BF #BF9677 #7CBF77 #77A0BF
square
#BA77BF #BF9677 #7CBF77 #77A0BF
split-complementary
#BA77BF #A0BF77 #77BF96
monochromatic
#7B3C80 #A350A9 #BA77BF #CFA1D3 #E4CAE6

Accessibility & contrast

On white

3.24
#BA77BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#BA77BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77BF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77BF#FFFFFF#000000##000000
##BA77BF1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#708AC2
Deuteranopia (green-blind)
#8192BD
Tritanopia (blue-blind)
#BD7E92
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba77bf;
/* rgb */ color: rgb(186, 119, 191);
/* oklch */ color: oklch(66.5% 0.127 324.4);
Tailwind
colors: {
  custom: {
    50: '#d09fd2',
    500: '#ba77bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba77bf;
$custom-light: #d09fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77bf",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 191
  },
  "hsl": {
    "h": 295.833,
    "s": 36,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66472,
    "c": 0.12714,
    "h": 324.4
  },
  "luminance": 0.27394
}

Semantic roles & 50–950 ramp

primary
#BA77BF
secondary
#BDD7BB
accent
#AF373F
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140F14
muted
#827E82

Preview Lab

Preview with #BA77BF

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

Preview Lab → · Contrast checker → · Palette generator →

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