#BA77FC#BA77FC

#BA77FC is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.6% C 0.195 H 305.1°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#BA77FC
RGBrgb(186, 119, 252)
HSLhsl(270, 96%, 73%)
HSVhsv(270, 53%, 99%)
CMYKcmyk(26.2%, 52.8%, 0%, 1.2%)
CIE-LABlab(62.22, 50.84, -56.69)
CIE-LCHlch(62.22, 76.14, 311.89°)
OKLaboklab(69.56% 0.1123 -0.1595)
OKLCHoklch(69.56% 0.195 305.1)
XYZxyz(44.4135, 30.6613, 95.6550)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77FC #B9FC77
analogous
#7877FC #BA77FC #FC77FB
triadic
#BA77FC #FCBA77 #77FCBA
tetradic
#BA77FC #FC7877 #B9FC77 #77FBFC
square
#BA77FC #FC7877 #B9FC77 #77FBFC
split-complementary
#BA77FC #FBFC77 #77FC78
monochromatic
#7D05F3 #9C3BFB #BA77FC #D8B3FD #F0E1FE

Accessibility & contrast

On white

2.94
#BA77FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#BA77FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA77FC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77FC#FFFFFF#000000##000000
##BA77FC1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#6097F9
Tritanopia (blue-blind)
#AF90AE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba77fc;
/* rgb */ color: rgb(186, 119, 252);
/* oklch */ color: oklch(69.6% 0.195 305.1);
Tailwind
colors: {
  custom: {
    50: '#d2a0fe',
    500: '#ba77fc',
    950: '#000000',
  },
}
SCSS
$custom: #ba77fc;
$custom-light: #d2a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77fc",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 270.226,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69561,
    "c": 0.19503,
    "h": 305.1
  },
  "luminance": 0.30661
}

Semantic roles & 50–950 ramp

primary
#BA77FC
secondary
#E5F7D4
accent
#E60072
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BA77FC

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

Preview Lab → · Contrast checker → · Palette generator →

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