#BA77EE#BA77EE

#BA77EE is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.8% C 0.179 H 308.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#BA77EE
RGBrgb(186, 119, 238)
HSLhsl(274, 78%, 70%)
HSVhsv(274, 50%, 93%)
CMYKcmyk(21.8%, 50%, 0%, 6.7%)
CIE-LABlab(61.49, 47.68, -50.12)
CIE-LCHlch(61.49, 69.17, 313.57°)
OKLaboklab(68.78% 0.1112 -0.1403)
OKLCHoklch(68.78% 0.179 308.4)
XYZxyz(42.2761, 29.8064, 84.3984)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77EE #ABEE77
analogous
#7F77EE #BA77EE #EE77E6
triadic
#BA77EE #EEBA77 #77EEBA
tetradic
#BA77EE #EE7F77 #ABEE77 #77E6EE
square
#BA77EE #EE7F77 #ABEE77 #77E6EE
split-complementary
#BA77EE #E6EE77 #77EE7F
monochromatic
#811AD1 #9E41E7 #BA77EE #D6ADF5 #F1E4FC

Accessibility & contrast

On white

3.02
#BA77EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#BA77EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77EE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77EE#FFFFFF#000000##000000
##BA77EE1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F2
Deuteranopia (green-blind)
#6A95EB
Tritanopia (blue-blind)
#B38BA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba77ee;
/* rgb */ color: rgb(186, 119, 238);
/* oklch */ color: oklch(68.8% 0.179 308.4);
Tailwind
colors: {
  custom: {
    50: '#d1a0f4',
    500: '#ba77ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba77ee;
$custom-light: #d1a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77ee",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 273.782,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.6878,
    "c": 0.17903,
    "h": 308.4
  },
  "luminance": 0.29806
}

Semantic roles & 50–950 ramp

primary
#BA77EE
secondary
#DEF1D0
accent
#DA0B66
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA77EE

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

Preview Lab → · Contrast checker → · Palette generator →

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