#BA76F9#BA76F9

#BA76F9 is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.2% C 0.193 H 305.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#BA76F9
RGBrgb(186, 118, 249)
HSLhsl(271, 92%, 72%)
HSVhsv(271, 53%, 98%)
CMYKcmyk(25.3%, 52.6%, 0%, 2.4%)
CIE-LABlab(61.86, 50.68, -55.61)
CIE-LCHlch(61.86, 75.24, 312.34°)
OKLaboklab(69.24% 0.1134 -0.1563)
OKLCHoklch(69.24% 0.193 305.9)
XYZxyz(43.8234, 30.2359, 93.1316)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76F9 #B5F976
analogous
#7976F9 #BA76F9 #F976F6
triadic
#BA76F9 #F9BA76 #76F9BA
tetradic
#BA76F9 #F97976 #B5F976 #76F6F9
square
#BA76F9 #F97976 #B5F976 #76F6F9
split-complementary
#BA76F9 #F6F976 #76F979
monochromatic
#7F0AEA #9C3BF6 #BA76F9 #D8B1FC #F0E2FE

Accessibility & contrast

On white

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

On black

7.05
#BA76F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA76F9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76F9#FFFFFF#000000##000000
##BA76F91.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FD
Deuteranopia (green-blind)
#6196F6
Tritanopia (blue-blind)
#B08EAD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba76f9;
/* rgb */ color: rgb(186, 118, 249);
/* oklch */ color: oklch(69.2% 0.193 305.9);
Tailwind
colors: {
  custom: {
    50: '#d29ffc',
    500: '#ba76f9',
    950: '#000000',
  },
}
SCSS
$custom: #ba76f9;
$custom-light: #d29ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76f9",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 249
  },
  "hsl": {
    "h": 271.145,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6924,
    "c": 0.19311,
    "h": 305.9
  },
  "luminance": 0.30236
}

Semantic roles & 50–950 ramp

primary
#BA76F9
secondary
#E5F6D5
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA76F9

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

Preview Lab → · Contrast checker → · Palette generator →

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