#BA77EA#BA77EA

#BA77EA is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.174 H 309.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#BA77EA
RGBrgb(186, 119, 234)
HSLhsl(275, 73%, 69%)
HSVhsv(275, 49%, 92%)
CMYKcmyk(20.5%, 49.1%, 0%, 8.2%)
CIE-LABlab(61.28, 46.79, -48.22)
CIE-LCHlch(61.28, 67.19, 314.14°)
OKLaboklab(68.56% 0.1108 -0.1348)
OKLCHoklch(68.56% 0.174 309.4)
XYZxyz(41.6950, 29.5739, 81.3378)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77EA #A7EA77
analogous
#8177EA #BA77EA #EA77E0
triadic
#BA77EA #EABA77 #77EABA
tetradic
#BA77EA #EA8177 #A7EA77 #77E0EA
square
#BA77EA #EA8177 #A7EA77 #77E0EA
split-complementary
#BA77EA #E0EA77 #77EA81
monochromatic
#811FC8 #9F42E2 #BA77EA #D5ACF2 #F0E1FA

Accessibility & contrast

On white

3.04
#BA77EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#BA77EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77EA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77EA#FFFFFF#000000##000000
##BA77EA1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#6D95E7
Tritanopia (blue-blind)
#B48AA6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba77ea;
/* rgb */ color: rgb(186, 119, 234);
/* oklch */ color: oklch(68.6% 0.174 309.4);
Tailwind
colors: {
  custom: {
    50: '#d1a0f1',
    500: '#ba77ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba77ea;
$custom-light: #d1a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77ea",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 274.957,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68564,
    "c": 0.17446,
    "h": 309.4
  },
  "luminance": 0.29573
}

Semantic roles & 50–950 ramp

primary
#BA77EA
secondary
#DCEFCE
accent
#D51062
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA77EA

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

Preview Lab → · Contrast checker → · Palette generator →

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