#BA76F6#BA76F6

#BA76F6 is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.1% C 0.190 H 306.6°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#BA76F6
RGBrgb(186, 118, 246)
HSLhsl(272, 88%, 71%)
HSVhsv(272, 52%, 96%)
CMYKcmyk(24.4%, 52%, 0%, 3.5%)
CIE-LABlab(61.70, 50.00, -54.21)
CIE-LCHlch(61.70, 73.75, 312.69°)
OKLaboklab(69.07% 0.1132 -0.1522)
OKLCHoklch(69.07% 0.19 306.6)
XYZxyz(43.3593, 30.0502, 90.6870)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76F6 #B2F676
analogous
#7A76F6 #BA76F6 #F676F2
triadic
#BA76F6 #F6BA76 #76F6BA
tetradic
#BA76F6 #F67A76 #B2F676 #76F2F6
square
#BA76F6 #F67A76 #B2F676 #76F2F6
split-complementary
#BA76F6 #F2F676 #76F67A
monochromatic
#7F0FE3 #9D3DF2 #BA76F6 #D7AFFA #F1E2FD

Accessibility & contrast

On white

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

On black

7.01
#BA76F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA76F6
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76F6#FFFFFF#000000##000000
##BA76F61.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FA
Deuteranopia (green-blind)
#6496F3
Tritanopia (blue-blind)
#B18DAB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba76f6;
/* rgb */ color: rgb(186, 118, 246);
/* oklch */ color: oklch(69.1% 0.190 306.6);
Tailwind
colors: {
  custom: {
    50: '#d29ffa',
    500: '#ba76f6',
    950: '#000000',
  },
}
SCSS
$custom: #ba76f6;
$custom-light: #d29ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76f6",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 271.875,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6907,
    "c": 0.18969,
    "h": 306.6
  },
  "luminance": 0.3005
}

Semantic roles & 50–950 ramp

primary
#BA76F6
secondary
#E3F5D3
accent
#E4016C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA76F6

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

Preview Lab → · Contrast checker → · Palette generator →

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