#BA76FE#BA76FE

#BA76FE is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.5% C 0.199 H 304.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#BA76FE
RGBrgb(186, 118, 254)
HSLhsl(270, 99%, 73%)
HSVhsv(270, 54%, 100%)
CMYKcmyk(26.8%, 53.5%, 0%, 0.4%)
CIE-LABlab(62.13, 51.82, -57.93)
CIE-LCHlch(62.13, 77.73, 311.81°)
OKLaboklab(69.53% 0.1136 -0.1631)
OKLCHoklch(69.53% 0.199 304.9)
XYZxyz(44.6137, 30.5520, 97.2935)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76FE #BAFE76
analogous
#7676FE #BA76FE #FE76FE
triadic
#BA76FE #FEBA76 #76FEBA
tetradic
#BA76FE #FE7676 #BAFE76 #76FEFE
square
#BA76FE #FE7676 #BAFE76 #76FEFE
split-complementary
#BA76FE #FEFE76 #76FE76
monochromatic
#7D02F8 #9B39FE #BA76FE #D9B3FE #F0E1FF

Accessibility & contrast

On white

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

On black

7.11
#BA76FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA76FE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76FE#FFFFFF#000000##000000
##BA76FE1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#AE8FAF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba76fe;
/* rgb */ color: rgb(186, 118, 254);
/* oklch */ color: oklch(69.5% 0.199 304.9);
Tailwind
colors: {
  custom: {
    50: '#d2a0ff',
    500: '#ba76fe',
    950: '#000000',
  },
}
SCSS
$custom: #ba76fe;
$custom-light: #d2a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76fe",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 270,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69527,
    "c": 0.1988,
    "h": 304.9
  },
  "luminance": 0.30552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA76FE

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

Preview Lab → · Contrast checker → · Palette generator →

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