#BA76FA#BA76FA

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

Color values

HEX#BA76FA
RGBrgb(186, 118, 250)
HSLhsl(271, 93%, 72%)
HSVhsv(271, 53%, 98%)
CMYKcmyk(25.6%, 52.8%, 0%, 2%)
CIE-LABlab(61.91, 50.91, -56.08)
CIE-LCHlch(61.91, 75.74, 312.23°)
OKLaboklab(69.3% 0.1134 -0.1577)
OKLCHoklch(69.3% 0.194 305.7)
XYZxyz(43.9798, 30.2984, 93.9552)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76FA #B6FA76
analogous
#7876FA #BA76FA #FA76F8
triadic
#BA76FA #FABA76 #76FABA
tetradic
#BA76FA #FA7876 #B6FA76 #76F8FA
square
#BA76FA #FA7876 #B6FA76 #76F8FA
split-complementary
#BA76FA #F8FA76 #76FA78
monochromatic
#7E09ED #9C3BF8 #BA76FA #D8B1FC #F0E1FE

Accessibility & contrast

On white

2.97
#BA76FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA76FA#FFFFFF#000000##000000
##BA76FA1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FE
Deuteranopia (green-blind)
#6196F7
Tritanopia (blue-blind)
#B08EAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba76fa;
/* rgb */ color: rgb(186, 118, 250);
/* oklch */ color: oklch(69.3% 0.194 305.7);
Tailwind
colors: {
  custom: {
    50: '#d29ffc',
    500: '#ba76fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba76fa;
$custom-light: #d29ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76fa",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 270.909,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69297,
    "c": 0.19424,
    "h": 305.7
  },
  "luminance": 0.30298
}

Semantic roles & 50–950 ramp

primary
#BA76FA
secondary
#E5F6D5
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #BA76FA

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

Preview Lab → · Contrast checker → · Palette generator →

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