#BA73FA#BA73FA

#BA73FA is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.9% C 0.199 H 306.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#BA73FA
RGBrgb(186, 115, 250)
HSLhsl(272, 93%, 72%)
HSVhsv(272, 54%, 98%)
CMYKcmyk(25.6%, 54%, 0%, 2%)
CIE-LABlab(61.31, 52.47, -57.04)
CIE-LCHlch(61.31, 77.50, 312.62°)
OKLaboklab(68.85% 0.1172 -0.1605)
OKLCHoklch(68.85% 0.199 306.1)
XYZxyz(43.6321, 29.6031, 93.8393)
Luminance0.2960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA73FA #B3FA73
analogous
#7773FA #BA73FA #FA73F6
triadic
#BA73FA #FABA73 #73FABA
tetradic
#BA73FA #FA7773 #B3FA73 #73F6FA
square
#BA73FA #FA7773 #B3FA73 #73F6FA
split-complementary
#BA73FA #F6FA73 #73FA77
monochromatic
#7F08EA #9D38F8 #BA73FA #D7AEFC #F0E1FE

Accessibility & contrast

On white

3.03
#BA73FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#BA73FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA73FA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA73FA#FFFFFF#000000##000000
##BA73FA1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FE
Deuteranopia (green-blind)
#5D94F7
Tritanopia (blue-blind)
#B08CAC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba73fa;
/* rgb */ color: rgb(186, 115, 250);
/* oklch */ color: oklch(68.9% 0.199 306.1);
Tailwind
colors: {
  custom: {
    50: '#d29efc',
    500: '#ba73fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba73fa;
$custom-light: #d29efc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba73fa",
  "rgb": {
    "r": 186,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 271.556,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68854,
    "c": 0.19873,
    "h": 306.1
  },
  "luminance": 0.29603
}

Semantic roles & 50–950 ramp

primary
#BA73FA
secondary
#E4F6D3
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BA73FA

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

Preview Lab → · Contrast checker → · Palette generator →

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