#BA77BE#BA77BE

#BA77BE is a light, vivid purple. Relative luminance 0.274; OKLCH L 66.4% C 0.126 H 324.9°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#BA77BE
RGBrgb(186, 119, 190)
HSLhsl(297, 35%, 61%)
HSVhsv(297, 37%, 75%)
CMYKcmyk(2.1%, 37.4%, 0%, 25.5%)
CIE-LABlab(59.30, 37.67, -26.59)
CIE-LCHlch(59.30, 46.11, 324.79°)
OKLaboklab(66.43% 0.1032 -0.0725)
OKLCHoklch(66.43% 0.126 324.9)
XYZxyz(36.1399, 27.3519, 52.0810)
Luminance0.2735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77BE #7BBE77
analogous
#9677BE #BA77BE #BE779E
triadic
#BA77BE #BEBA77 #77BEBA
tetradic
#BA77BE #BE9677 #7BBE77 #779EBE
square
#BA77BE #BE9677 #7BBE77 #779EBE
split-complementary
#BA77BE #9EBE77 #77BE96
monochromatic
#7B3C7E #A350A8 #BA77BE #CFA0D2 #E4CAE6

Accessibility & contrast

On white

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

On black

6.47
#BA77BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77BE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77BE#FFFFFF#000000##000000
##BA77BE1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#708AC1
Deuteranopia (green-blind)
#8292BC
Tritanopia (blue-blind)
#BD7E92
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba77be;
/* rgb */ color: rgb(186, 119, 190);
/* oklch */ color: oklch(66.4% 0.126 324.9);
Tailwind
colors: {
  custom: {
    50: '#d09fd1',
    500: '#ba77be',
    950: '#000000',
  },
}
SCSS
$custom: #ba77be;
$custom-light: #d09fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77be",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 190
  },
  "hsl": {
    "h": 296.62,
    "s": 35.323,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66429,
    "c": 0.12613,
    "h": 324.9
  },
  "luminance": 0.2735
}

Semantic roles & 50–950 ramp

primary
#BA77BE
secondary
#BCD6BB
accent
#AE373E
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140F14
muted
#827E82

Preview Lab

Preview with #BA77BE

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

Preview Lab → · Contrast checker → · Palette generator →

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