#BA73BC#BA73BC

#BA73BC is a light, vivid purple. Relative luminance 0.263; OKLCH L 65.7% C 0.131 H 326.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#BA73BC
RGBrgb(186, 115, 188)
HSLhsl(298, 35%, 59%)
HSVhsv(298, 39%, 74%)
CMYKcmyk(1.1%, 38.8%, 0%, 26.3%)
CIE-LABlab(58.35, 39.45, -26.91)
CIE-LCHlch(58.35, 47.76, 325.70°)
OKLaboklab(65.69% 0.1087 -0.0734)
OKLCHoklch(65.69% 0.131 326)
XYZxyz(35.4568, 26.3329, 50.7823)
Luminance0.2633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA73BC #75BC73
analogous
#9673BC #BA73BC #BC739A
triadic
#BA73BC #BCBA73 #73BCBA
tetradic
#BA73BC #BC9673 #75BC73 #739ABC
square
#BA73BC #BC9673 #75BC73 #739ABC
split-complementary
#BA73BC #9ABC73 #73BC96
monochromatic
#783A7A #A14EA4 #BA73BC #CE9CD0 #E3C6E4

Accessibility & contrast

On white

3.35
#BA73BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#BA73BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA73BC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA73BC#FFFFFF#000000##000000
##BA73BC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87BF
Deuteranopia (green-blind)
#7F8FBA
Tritanopia (blue-blind)
#BE7A8F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba73bc;
/* rgb */ color: rgb(186, 115, 188);
/* oklch */ color: oklch(65.7% 0.131 326.0);
Tailwind
colors: {
  custom: {
    50: '#d09dd0',
    500: '#ba73bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba73bc;
$custom-light: #d09dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba73bc",
  "rgb": {
    "r": 186,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 298.356,
    "s": 35.266,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6569,
    "c": 0.1312,
    "h": 326
  },
  "luminance": 0.26331
}

Semantic roles & 50–950 ramp

primary
#BA73BC
secondary
#B8D4B7
accent
#CB5C60
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA73BC

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

Preview Lab → · Contrast checker → · Palette generator →

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