#BA77CA#BA77CA

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

Color values

HEX#BA77CA
RGBrgb(186, 119, 202)
HSLhsl(288, 44%, 63%)
HSVhsv(288, 41%, 79%)
CMYKcmyk(7.9%, 41.1%, 0%, 20.8%)
CIE-LABlab(59.80, 40.03, -32.62)
CIE-LCHlch(59.80, 51.64, 320.82°)
OKLaboklab(66.97% 0.1058 -0.0897)
OKLCHoklch(66.97% 0.139 319.7)
XYZxyz(37.5058, 27.8982, 59.2749)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77CA #87CA77
analogous
#9077CA #BA77CA #CA77B0
triadic
#BA77CA #CABA77 #77CABA
tetradic
#BA77CA #CA9077 #87CA77 #77B0CA
square
#BA77CA #CA9077 #87CA77 #77B0CA
split-complementary
#BA77CA #B0CA77 #77CA90
monochromatic
#7E388F #A44BB9 #BA77CA #D0A3DB #E7CFEC

Accessibility & contrast

On white

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

On black

6.58
#BA77CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77CA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77CA#FFFFFF#000000##000000
##BA77CA1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba77ca;
/* rgb */ color: rgb(186, 119, 202);
/* oklch */ color: oklch(67.0% 0.139 319.7);
Tailwind
colors: {
  custom: {
    50: '#d0a0da',
    500: '#ba77ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba77ca;
$custom-light: #d0a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77ca",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 288.434,
    "s": 43.915,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66967,
    "c": 0.13874,
    "h": 319.7
  },
  "luminance": 0.27897
}

Semantic roles & 50–950 ramp

primary
#BA77CA
secondary
#C5DDBF
accent
#B72E49
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140F15
muted
#827E83

Preview Lab

Preview with #BA77CA

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

Preview Lab → · Contrast checker → · Palette generator →

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