#BA77FA#BA77FA

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

Color values

HEX#BA77FA
RGBrgb(186, 119, 250)
HSLhsl(271, 93%, 72%)
HSVhsv(271, 52%, 98%)
CMYKcmyk(25.6%, 52.4%, 0%, 2%)
CIE-LABlab(62.11, 50.38, -55.76)
CIE-LCHlch(62.11, 75.15, 312.10°)
OKLaboklab(69.45% 0.1122 -0.1567)
OKLCHoklch(69.45% 0.193 305.6)
XYZxyz(44.0982, 30.5352, 93.9947)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77FA #B7FA77
analogous
#7977FA #BA77FA #FA77F9
triadic
#BA77FA #FABA77 #77FABA
tetradic
#BA77FA #FA7977 #B7FA77 #77F9FA
square
#BA77FA #FA7977 #B7FA77 #77F9FA
split-complementary
#BA77FA #F9FA77 #77FA79
monochromatic
#7E09EE #9C3CF8 #BA77FA #D8B2FC #F0E1FE

Accessibility & contrast

On white

2.95
#BA77FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#BA77FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA77FA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77FA#FFFFFF#000000##000000
##BA77FA1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba77fa;
/* rgb */ color: rgb(186, 119, 250);
/* oklch */ color: oklch(69.4% 0.193 305.6);
Tailwind
colors: {
  custom: {
    50: '#d2a0fc',
    500: '#ba77fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba77fa;
$custom-light: #d2a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77fa",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 270.687,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69447,
    "c": 0.19274,
    "h": 305.6
  },
  "luminance": 0.30535
}

Semantic roles & 50–950 ramp

primary
#BA77FA
secondary
#E5F6D5
accent
#E60070
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BA77FA

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

Preview Lab → · Contrast checker → · Palette generator →

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