#BA77F9#BA77F9

#BA77F9 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.4% C 0.192 H 305.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#BA77F9
RGBrgb(186, 119, 249)
HSLhsl(271, 92%, 72%)
HSVhsv(271, 52%, 98%)
CMYKcmyk(25.3%, 52.2%, 0%, 2.4%)
CIE-LABlab(62.06, 50.15, -55.29)
CIE-LCHlch(62.06, 74.65, 312.21°)
OKLaboklab(69.39% 0.1121 -0.1554)
OKLCHoklch(69.39% 0.192 305.8)
XYZxyz(43.9418, 30.4726, 93.1711)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77F9 #B6F977
analogous
#7977F9 #BA77F9 #F977F7
triadic
#BA77F9 #F9BA77 #77F9BA
tetradic
#BA77F9 #F97977 #B6F977 #77F7F9
square
#BA77F9 #F97977 #B6F977 #77F7F9
split-complementary
#BA77F9 #F7F977 #77F979
monochromatic
#7E0AEB #9C3CF6 #BA77F9 #D8B2FC #F0E2FE

Accessibility & contrast

On white

2.96
#BA77F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#BA77F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA77F9
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77F9#FFFFFF#000000##000000
##BA77F91.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FD
Deuteranopia (green-blind)
#6296F6
Tritanopia (blue-blind)
#B08FAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba77f9;
/* rgb */ color: rgb(186, 119, 249);
/* oklch */ color: oklch(69.4% 0.192 305.8);
Tailwind
colors: {
  custom: {
    50: '#d2a0fc',
    500: '#ba77f9',
    950: '#000000',
  },
}
SCSS
$custom: #ba77f9;
$custom-light: #d2a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77f9",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 270.923,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6939,
    "c": 0.19159,
    "h": 305.8
  },
  "luminance": 0.30472
}

Semantic roles & 50–950 ramp

primary
#BA77F9
secondary
#E5F6D5
accent
#E6006F
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA77F9

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

Preview Lab → · Contrast checker → · Palette generator →

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