#BA76E8#BA76E8

#BA76E8 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.3% C 0.174 H 310.1°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#BA76E8
RGBrgb(186, 118, 232)
HSLhsl(276, 71%, 69%)
HSVhsv(276, 49%, 91%)
CMYKcmyk(19.8%, 49.1%, 0%, 9%)
CIE-LABlab(60.98, 46.88, -47.59)
CIE-LCHlch(60.98, 66.81, 314.57°)
OKLaboklab(68.3% 0.1119 -0.133)
OKLCHoklch(68.3% 0.174 310.1)
XYZxyz(41.2909, 29.2229, 79.7937)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76E8 #A4E876
analogous
#8176E8 #BA76E8 #E876DD
triadic
#BA76E8 #E8BA76 #76E8BA
tetradic
#BA76E8 #E88176 #A4E876 #76DDE8
square
#BA76E8 #E88176 #A4E876 #76DDE8
split-complementary
#BA76E8 #DDE876 #76E881
monochromatic
#8121C3 #A042DF #BA76E8 #D4AAF1 #EFDFFA

Accessibility & contrast

On white

3.07
#BA76E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#BA76E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76E8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76E8#FFFFFF#000000##000000
##BA76E81.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5990EC
Deuteranopia (green-blind)
#6D94E5
Tritanopia (blue-blind)
#B489A4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba76e8;
/* rgb */ color: rgb(186, 118, 232);
/* oklch */ color: oklch(68.3% 0.174 310.1);
Tailwind
colors: {
  custom: {
    50: '#d19ff0',
    500: '#ba76e8',
    950: '#000000',
  },
}
SCSS
$custom: #ba76e8;
$custom-light: #d19ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76e8",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 232
  },
  "hsl": {
    "h": 275.789,
    "s": 71.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.68303,
    "c": 0.17378,
    "h": 310.1
  },
  "luminance": 0.29222
}

Semantic roles & 50–950 ramp

primary
#BA76E8
secondary
#DAEECC
accent
#D31260
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BA76E8

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

Preview Lab → · Contrast checker → · Palette generator →

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