#BA77C8#BA77C8

#BA77C8 is a light, vivid purple. Relative luminance 0.278; OKLCH L 66.9% C 0.137 H 320.5°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#BA77C8
RGBrgb(186, 119, 200)
HSLhsl(290, 42%, 63%)
HSVhsv(290, 41%, 78%)
CMYKcmyk(7%, 40.5%, 0%, 21.6%)
CIE-LABlab(59.71, 39.63, -31.62)
CIE-LCHlch(59.71, 50.70, 321.41°)
OKLaboklab(66.88% 0.1054 -0.0869)
OKLCHoklch(66.88% 0.137 320.5)
XYZxyz(37.2706, 27.8041, 58.0358)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77C8 #85C877
analogous
#9277C8 #BA77C8 #C877AD
triadic
#BA77C8 #C8BA77 #77C8BA
tetradic
#BA77C8 #C89277 #85C877 #77ADC8
square
#BA77C8 #C89277 #85C877 #77ADC8
split-complementary
#BA77C8 #ADC877 #77C892
monochromatic
#7E398C #A44BB6 #BA77C8 #D0A3DA #E6CEEB

Accessibility & contrast

On white

3.20
#BA77C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#BA77C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77C8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77C8#FFFFFF#000000##000000
##BA77C81.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8BCB
Deuteranopia (green-blind)
#7E92C6
Tritanopia (blue-blind)
#BB8196
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba77c8;
/* rgb */ color: rgb(186, 119, 200);
/* oklch */ color: oklch(66.9% 0.137 320.5);
Tailwind
colors: {
  custom: {
    50: '#d09fd9',
    500: '#ba77c8',
    950: '#000000',
  },
}
SCSS
$custom: #ba77c8;
$custom-light: #d09fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77c8",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 200
  },
  "hsl": {
    "h": 289.63,
    "s": 42.408,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66875,
    "c": 0.13659,
    "h": 320.5
  },
  "luminance": 0.27803
}

Semantic roles & 50–950 ramp

primary
#BA77C8
secondary
#C4DCBF
accent
#B53047
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140F14
muted
#827E83

Preview Lab

Preview with #BA77C8

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

Preview Lab → · Contrast checker → · Palette generator →

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