#BA77F6#BA77F6

#BA77F6 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.2% C 0.188 H 306.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#BA77F6
RGBrgb(186, 119, 246)
HSLhsl(272, 88%, 72%)
HSVhsv(272, 52%, 96%)
CMYKcmyk(24.4%, 51.6%, 0%, 3.5%)
CIE-LABlab(61.90, 49.47, -53.89)
CIE-LCHlch(61.90, 73.15, 312.55°)
OKLaboklab(69.22% 0.1119 -0.1513)
OKLCHoklch(69.22% 0.188 306.5)
XYZxyz(43.4776, 30.2870, 90.7264)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77F6 #B3F677
analogous
#7B77F6 #BA77F6 #F677F2
triadic
#BA77F6 #F6BA77 #77F6BA
tetradic
#BA77F6 #F67B77 #B3F677 #77F2F6
square
#BA77F6 #F67B77 #B3F677 #77F2F6
split-complementary
#BA77F6 #F2F677 #77F67B
monochromatic
#7F0FE4 #9D3EF2 #BA77F6 #D7B0FA #F0E2FD

Accessibility & contrast

On white

2.98
#BA77F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#BA77F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA77F6
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77F6#FFFFFF#000000##000000
##BA77F61.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093FA
Deuteranopia (green-blind)
#6596F3
Tritanopia (blue-blind)
#B18EAC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba77f6;
/* rgb */ color: rgb(186, 119, 246);
/* oklch */ color: oklch(69.2% 0.188 306.5);
Tailwind
colors: {
  custom: {
    50: '#d1a0fa',
    500: '#ba77f6',
    950: '#000000',
  },
}
SCSS
$custom: #ba77f6;
$custom-light: #d1a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77f6",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 246
  },
  "hsl": {
    "h": 271.654,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69221,
    "c": 0.18817,
    "h": 306.5
  },
  "luminance": 0.30287
}

Semantic roles & 50–950 ramp

primary
#BA77F6
secondary
#E4F5D4
accent
#E4016C
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA77F6

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

Preview Lab → · Contrast checker → · Palette generator →

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