#BA73F3#BA73F3

#BA73F3 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.5% C 0.191 H 307.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#BA73F3
RGBrgb(186, 115, 243)
HSLhsl(273, 84%, 70%)
HSVhsv(273, 53%, 95%)
CMYKcmyk(23.5%, 52.7%, 0%, 4.7%)
CIE-LABlab(60.93, 50.90, -53.77)
CIE-LCHlch(60.93, 74.04, 313.43°)
OKLaboklab(68.45% 0.1168 -0.1509)
OKLCHoklch(68.45% 0.191 307.7)
XYZxyz(42.5549, 29.1722, 88.1656)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA73F3 #ACF373
analogous
#7A73F3 #BA73F3 #F373EC
triadic
#BA73F3 #F3BA73 #73F3BA
tetradic
#BA73F3 #F37A73 #ACF373 #73ECF3
square
#BA73F3 #F37A73 #ACF373 #73ECF3
split-complementary
#BA73F3 #ECF373 #73F37A
monochromatic
#8113D9 #9E3BEE #BA73F3 #D6ABF8 #F1E3FD

Accessibility & contrast

On white

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

On black

6.83
#BA73F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA73F3
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA73F3#FFFFFF#000000##000000
##BA73F31.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F7
Deuteranopia (green-blind)
#6394F0
Tritanopia (blue-blind)
#B28AA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba73f3;
/* rgb */ color: rgb(186, 115, 243);
/* oklch */ color: oklch(68.5% 0.191 307.7);
Tailwind
colors: {
  custom: {
    50: '#d29df7',
    500: '#ba73f3',
    950: '#000000',
  },
}
SCSS
$custom: #ba73f3;
$custom-light: #d29df7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba73f3",
  "rgb": {
    "r": 186,
    "g": 115,
    "b": 243
  },
  "hsl": {
    "h": 273.281,
    "s": 84.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68454,
    "c": 0.19087,
    "h": 307.7
  },
  "luminance": 0.29172
}

Semantic roles & 50–950 ramp

primary
#BA73F3
secondary
#DFF3CF
accent
#E10567
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA73F3

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

Preview Lab → · Contrast checker → · Palette generator →

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