#BA77CC#BA77CC

#BA77CC is a light, vivid purple. Relative luminance 0.280; OKLCH L 67.1% C 0.141 H 318.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#BA77CC
RGBrgb(186, 119, 204)
HSLhsl(287, 45%, 63%)
HSVhsv(287, 42%, 80%)
CMYKcmyk(8.8%, 41.7%, 0%, 20%)
CIE-LABlab(59.88, 40.43, -33.62)
CIE-LCHlch(59.88, 52.58, 320.26°)
OKLaboklab(67.06% 0.1062 -0.0926)
OKLCHoklch(67.06% 0.141 318.9)
XYZxyz(37.7442, 27.9936, 60.5301)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77CC #89CC77
analogous
#8F77CC #BA77CC #CC77B3
triadic
#BA77CC #CCBA77 #77CCBA
tetradic
#BA77CC #CC8F77 #89CC77 #77B3CC
square
#BA77CC #CC8F77 #89CC77 #77B3CC
split-complementary
#BA77CC #B3CC77 #77CC8F
monochromatic
#7F3792 #A34ABB #BA77CC #D1A4DD #E7D0ED

Accessibility & contrast

On white

3.18
#BA77CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#BA77CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77CC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77CC#FFFFFF#000000##000000
##BA77CC1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CCF
Deuteranopia (green-blind)
#7C93C9
Tritanopia (blue-blind)
#BB8298
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba77cc;
/* rgb */ color: rgb(186, 119, 204);
/* oklch */ color: oklch(67.1% 0.141 318.9);
Tailwind
colors: {
  custom: {
    50: '#d0a0dc',
    500: '#ba77cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba77cc;
$custom-light: #d0a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77cc",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 287.294,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6706,
    "c": 0.1409,
    "h": 318.9
  },
  "luminance": 0.27992
}

Semantic roles & 50–950 ramp

primary
#BA77CC
secondary
#C7DFC0
accent
#B92D4A
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #BA77CC

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

Preview Lab → · Contrast checker → · Palette generator →

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