#BA76F7#BA76F7

#BA76F7 is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.1% C 0.191 H 306.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#BA76F7
RGBrgb(186, 118, 247)
HSLhsl(272, 89%, 72%)
HSVhsv(272, 52%, 97%)
CMYKcmyk(24.7%, 52.2%, 0%, 3.1%)
CIE-LABlab(61.75, 50.23, -54.68)
CIE-LCHlch(61.75, 74.25, 312.57°)
OKLaboklab(69.13% 0.1132 -0.1536)
OKLCHoklch(69.13% 0.191 306.4)
XYZxyz(43.5132, 30.1118, 91.4975)
Luminance0.3011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76F7 #B3F776
analogous
#7A76F7 #BA76F7 #F776F4
triadic
#BA76F7 #F7BA76 #76F7BA
tetradic
#BA76F7 #F77A76 #B3F776 #76F4F7
square
#BA76F7 #F77A76 #B3F776 #76F4F7
split-complementary
#BA76F7 #F4F776 #76F77A
monochromatic
#7F0DE5 #9D3CF4 #BA76F7 #D7B0FA #F0E2FD

Accessibility & contrast

On white

2.99
#BA76F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#BA76F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA76F7
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76F7#FFFFFF#000000##000000
##BA76F71.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FB
Deuteranopia (green-blind)
#6396F4
Tritanopia (blue-blind)
#B08DAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba76f7;
/* rgb */ color: rgb(186, 118, 247);
/* oklch */ color: oklch(69.1% 0.191 306.4);
Tailwind
colors: {
  custom: {
    50: '#d29ffa',
    500: '#ba76f7',
    950: '#000000',
  },
}
SCSS
$custom: #ba76f7;
$custom-light: #d29ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76f7",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 271.628,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69127,
    "c": 0.19083,
    "h": 306.4
  },
  "luminance": 0.30111
}

Semantic roles & 50–950 ramp

primary
#BA76F7
secondary
#E4F5D4
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA76F7

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

Preview Lab → · Contrast checker → · Palette generator →

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