#BA73CC#BA73CC

#BA73CC is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.4% C 0.148 H 319.3°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#BA73CC
RGBrgb(186, 115, 204)
HSLhsl(288, 47%, 63%)
HSVhsv(288, 44%, 80%)
CMYKcmyk(8.8%, 43.6%, 0%, 20%)
CIE-LABlab(59.03, 42.58, -34.95)
CIE-LCHlch(59.03, 55.09, 320.63°)
OKLaboklab(66.42% 0.112 -0.0963)
OKLCHoklch(66.42% 0.148 319.3)
XYZxyz(37.2781, 27.0615, 60.3747)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA73CC #85CC73
analogous
#8D73CC #BA73CC #CC73B2
triadic
#BA73CC #CCBA73 #73CCBA
tetradic
#BA73CC #CC8D73 #85CC73 #73B2CC
square
#BA73CC #CC8D73 #85CC73 #73B2CC
split-complementary
#BA73CC #B2CC73 #73CC8D
monochromatic
#7E3490 #A446BC #BA73CC #D0A0DC #E6CDED

Accessibility & contrast

On white

3.28
#BA73CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#BA73CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA73CC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA73CC#FFFFFF#000000##000000
##BA73CC1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CF
Deuteranopia (green-blind)
#7991C9
Tritanopia (blue-blind)
#BB7E96
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba73cc;
/* rgb */ color: rgb(186, 115, 204);
/* oklch */ color: oklch(66.4% 0.148 319.3);
Tailwind
colors: {
  custom: {
    50: '#d09ddc',
    500: '#ba73cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba73cc;
$custom-light: #d09ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba73cc",
  "rgb": {
    "r": 186,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 287.865,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66422,
    "c": 0.14777,
    "h": 319.3
  },
  "luminance": 0.2706
}

Semantic roles & 50–950 ramp

primary
#BA73CC
secondary
#C4DEBD
accent
#BA2C48
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #BA73CC

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

Preview Lab → · Contrast checker → · Palette generator →

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