#BA76FF#BA76FF

#BA76FF is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.6% C 0.200 H 304.7°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#BA76FF
RGBrgb(186, 118, 255)
HSLhsl(270, 100%, 73%)
HSVhsv(270, 54%, 100%)
CMYKcmyk(27.1%, 53.7%, 0%, 0%)
CIE-LABlab(62.18, 52.05, -58.40)
CIE-LCHlch(62.18, 78.23, 311.71°)
OKLaboklab(69.58% 0.1137 -0.1645)
OKLCHoklch(69.58% 0.2 304.7)
XYZxyz(44.7742, 30.6162, 98.1391)
Luminance0.3062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76FF #BBFF76
analogous
#7676FF #BA76FF #FE76FF
triadic
#BA76FF #FFBA76 #76FFBA
tetradic
#BA76FF #FF7676 #BBFF76 #76FFFE
square
#BA76FF #FF7676 #BBFF76 #76FFFE
split-complementary
#BA76FF #FFFE76 #76FF76
monochromatic
#7C00FB #9B39FF #BA76FF #D9B3FF #F0E0FF

Accessibility & contrast

On white

2.95
#BA76FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#BA76FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA76FF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76FF#FFFFFF#000000##000000
##BA76FF1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#5D96FC
Tritanopia (blue-blind)
#AE90B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba76ff;
/* rgb */ color: rgb(186, 118, 255);
/* oklch */ color: oklch(69.6% 0.200 304.7);
Tailwind
colors: {
  custom: {
    50: '#d2a0ff',
    500: '#ba76ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba76ff;
$custom-light: #d2a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76ff",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 255
  },
  "hsl": {
    "h": 269.781,
    "s": 100,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69585,
    "c": 0.19993,
    "h": 304.7
  },
  "luminance": 0.30616
}

Semantic roles & 50–950 ramp

primary
#BA76FF
secondary
#E6F7D4
accent
#E60074
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BA76FF

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

Preview Lab → · Contrast checker → · Palette generator →

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