#BA76EE#BA76EE

#BA76EE is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.181 H 308.5°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#BA76EE
RGBrgb(186, 118, 238)
HSLhsl(274, 78%, 70%)
HSVhsv(274, 50%, 93%)
CMYKcmyk(21.8%, 50.4%, 0%, 6.7%)
CIE-LABlab(61.28, 48.21, -50.45)
CIE-LCHlch(61.28, 69.78, 313.70°)
OKLaboklab(68.63% 0.1125 -0.1412)
OKLCHoklch(68.63% 0.181 308.5)
XYZxyz(42.1577, 29.5696, 84.3590)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76EE #AAEE76
analogous
#7E76EE #BA76EE #EE76E6
triadic
#BA76EE #EEBA76 #76EEBA
tetradic
#BA76EE #EE7E76 #AAEE76 #76E6EE
square
#BA76EE #EE7E76 #AAEE76 #76E6EE
split-complementary
#BA76EE #E6EE76 #76EE7E
monochromatic
#811AD0 #9F40E7 #BA76EE #D5ACF5 #F1E3FC

Accessibility & contrast

On white

3.04
#BA76EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#BA76EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76EE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76EE#FFFFFF#000000##000000
##BA76EE1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F2
Deuteranopia (green-blind)
#6995EB
Tritanopia (blue-blind)
#B38BA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba76ee;
/* rgb */ color: rgb(186, 118, 238);
/* oklch */ color: oklch(68.6% 0.181 308.5);
Tailwind
colors: {
  custom: {
    50: '#d19ff4',
    500: '#ba76ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba76ee;
$custom-light: #d19ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76ee",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 238
  },
  "hsl": {
    "h": 274,
    "s": 77.922,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68627,
    "c": 0.18058,
    "h": 308.5
  },
  "luminance": 0.29569
}

Semantic roles & 50–950 ramp

primary
#BA76EE
secondary
#DEF1CF
accent
#DA0B65
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA76EE

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

Preview Lab → · Contrast checker → · Palette generator →

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