#BA77CB#BA77CB

#BA77CB is a light, vivid purple. Relative luminance 0.279; OKLCH L 67.0% C 0.140 H 319.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#BA77CB
RGBrgb(186, 119, 203)
HSLhsl(288, 45%, 63%)
HSVhsv(288, 41%, 80%)
CMYKcmyk(8.4%, 41.4%, 0%, 20.4%)
CIE-LABlab(59.84, 40.23, -33.12)
CIE-LCHlch(59.84, 52.11, 320.54°)
OKLaboklab(67.01% 0.106 -0.0911)
OKLCHoklch(67.01% 0.14 319.3)
XYZxyz(37.6246, 27.9458, 59.9005)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77CB #88CB77
analogous
#9077CB #BA77CB #CB77B2
triadic
#BA77CB #CBBA77 #77CBBA
tetradic
#BA77CB #CB9077 #88CB77 #77B2CB
square
#BA77CB #CB9077 #88CB77 #77B2CB
split-complementary
#BA77CB #B2CB77 #77CB90
monochromatic
#7E3790 #A44BBA #BA77CB #D0A3DC #E7D0ED

Accessibility & contrast

On white

3.19
#BA77CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#BA77CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77CB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77CB#FFFFFF#000000##000000
##BA77CB1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CCE
Deuteranopia (green-blind)
#7C93C8
Tritanopia (blue-blind)
#BB8197
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba77cb;
/* rgb */ color: rgb(186, 119, 203);
/* oklch */ color: oklch(67.0% 0.140 319.3);
Tailwind
colors: {
  custom: {
    50: '#d0a0db',
    500: '#ba77cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba77cb;
$custom-light: #d0a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77cb",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 287.857,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67013,
    "c": 0.13982,
    "h": 319.3
  },
  "luminance": 0.27945
}

Semantic roles & 50–950 ramp

primary
#BA77CB
secondary
#C6DEC0
accent
#B82E4A
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #BA77CB

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

Preview Lab → · Contrast checker → · Palette generator →

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