#BA77CE#BA77CE

#BA77CE is a light, vivid purple. Relative luminance 0.281; OKLCH L 67.2% C 0.143 H 318.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#BA77CE
RGBrgb(186, 119, 206)
HSLhsl(286, 47%, 64%)
HSVhsv(286, 42%, 81%)
CMYKcmyk(9.7%, 42.2%, 0%, 19.2%)
CIE-LABlab(59.97, 40.84, -34.61)
CIE-LCHlch(59.97, 53.53, 319.72°)
OKLaboklab(67.15% 0.1066 -0.0954)
OKLCHoklch(67.15% 0.143 318.2)
XYZxyz(37.9856, 28.0901, 61.8015)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77CE #8BCE77
analogous
#8E77CE #BA77CE #CE77B6
triadic
#BA77CE #CEBA77 #77CEBA
tetradic
#BA77CE #CE8E77 #8BCE77 #77B6CE
square
#BA77CE #CE8E77 #8BCE77 #77B6CE
split-complementary
#BA77CE #B6CE77 #77CE8E
monochromatic
#7F3695 #A34ABE #BA77CE #D1A4DE #E8D1EE

Accessibility & contrast

On white

3.17
#BA77CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#BA77CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77CE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77CE#FFFFFF#000000##000000
##BA77CE1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#698CD1
Deuteranopia (green-blind)
#7B93CB
Tritanopia (blue-blind)
#BA8299
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba77ce;
/* rgb */ color: rgb(186, 119, 206);
/* oklch */ color: oklch(67.2% 0.143 318.2);
Tailwind
colors: {
  custom: {
    50: '#d0a0dd',
    500: '#ba77ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba77ce;
$custom-light: #d0a0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77ce",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 206
  },
  "hsl": {
    "h": 286.207,
    "s": 47.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67154,
    "c": 0.14308,
    "h": 318.2
  },
  "luminance": 0.28089
}

Semantic roles & 50–950 ramp

primary
#BA77CE
secondary
#C8E0C1
accent
#BA2B4C
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #BA77CE

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

Preview Lab → · Contrast checker → · Palette generator →

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