#BA73CB#BA73CB

#BA73CB is a light, vivid purple. Relative luminance 0.270; OKLCH L 66.4% C 0.147 H 319.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#BA73CB
RGBrgb(186, 115, 203)
HSLhsl(288, 46%, 62%)
HSVhsv(288, 43%, 80%)
CMYKcmyk(8.4%, 43.3%, 0%, 20.4%)
CIE-LABlab(58.99, 42.38, -34.45)
CIE-LCHlch(58.99, 54.62, 320.90°)
OKLaboklab(66.37% 0.1119 -0.0949)
OKLCHoklch(66.37% 0.147 319.7)
XYZxyz(37.1586, 27.0136, 59.7451)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA73CB #84CB73
analogous
#8E73CB #BA73CB #CB73B0
triadic
#BA73CB #CBBA73 #73CBBA
tetradic
#BA73CB #CB8E73 #84CB73 #73B0CB
square
#BA73CB #CB8E73 #84CB73 #73B0CB
split-complementary
#BA73CB #B0CB73 #73CB8E
monochromatic
#7D358F #A446BA #BA73CB #D0A0DC #E6CCEC

Accessibility & contrast

On white

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

On black

6.40
#BA73CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA73CB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA73CB#FFFFFF#000000##000000
##BA73CB1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CE
Deuteranopia (green-blind)
#7991C8
Tritanopia (blue-blind)
#BB7E95
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba73cb;
/* rgb */ color: rgb(186, 115, 203);
/* oklch */ color: oklch(66.4% 0.147 319.7);
Tailwind
colors: {
  custom: {
    50: '#d09ddb',
    500: '#ba73cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba73cb;
$custom-light: #d09ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba73cb",
  "rgb": {
    "r": 186,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 288.409,
    "s": 45.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66374,
    "c": 0.14671,
    "h": 319.7
  },
  "luminance": 0.27012
}

Semantic roles & 50–950 ramp

primary
#BA73CB
secondary
#C3DDBD
accent
#B92C48
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #BA73CB

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

Preview Lab → · Contrast checker → · Palette generator →

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