#BA76F5#BA76F5

#BA76F5 is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.0% C 0.189 H 306.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#BA76F5
RGBrgb(186, 118, 245)
HSLhsl(272, 86%, 71%)
HSVhsv(272, 52%, 96%)
CMYKcmyk(24.1%, 51.8%, 0%, 3.9%)
CIE-LABlab(61.64, 49.77, -53.74)
CIE-LCHlch(61.64, 73.25, 312.80°)
OKLaboklab(69.01% 0.1131 -0.1509)
OKLCHoklch(69.01% 0.189 306.9)
XYZxyz(43.2062, 29.9890, 89.8808)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76F5 #B1F576
analogous
#7A76F5 #BA76F5 #F576F1
triadic
#BA76F5 #F5BA76 #76F5BA
tetradic
#BA76F5 #F57A76 #B1F576 #76F1F5
square
#BA76F5 #F57A76 #B1F576 #76F1F5
split-complementary
#BA76F5 #F1F576 #76F57A
monochromatic
#8010E0 #9D3DF1 #BA76F5 #D7AFF9 #F1E2FD

Accessibility & contrast

On white

3.00
#BA76F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#BA76F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA76F5
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76F5#FFFFFF#000000##000000
##BA76F51.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F9
Deuteranopia (green-blind)
#6495F2
Tritanopia (blue-blind)
#B18DAB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba76f5;
/* rgb */ color: rgb(186, 118, 245);
/* oklch */ color: oklch(69.0% 0.189 306.9);
Tailwind
colors: {
  custom: {
    50: '#d19ff9',
    500: '#ba76f5',
    950: '#000000',
  },
}
SCSS
$custom: #ba76f5;
$custom-light: #d19ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76f5",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 272.126,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69014,
    "c": 0.18855,
    "h": 306.9
  },
  "luminance": 0.29989
}

Semantic roles & 50–950 ramp

primary
#BA76F5
secondary
#E2F4D3
accent
#E3036B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA76F5

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

Preview Lab → · Contrast checker → · Palette generator →

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