#BA73BB#BA73BB

#BA73BB is a light, vivid purple. Relative luminance 0.263; OKLCH L 65.6% C 0.130 H 326.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#BA73BB
RGBrgb(186, 115, 187)
HSLhsl(299, 35%, 59%)
HSVhsv(299, 39%, 73%)
CMYKcmyk(0.5%, 38.5%, 0%, 26.7%)
CIE-LABlab(58.31, 39.26, -26.40)
CIE-LCHlch(58.31, 47.31, 326.08°)
OKLaboklab(65.65% 0.1085 -0.072)
OKLCHoklch(65.65% 0.13 326.4)
XYZxyz(35.3493, 26.2899, 50.2165)
Luminance0.2629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA73BB #74BB73
analogous
#9673BB #BA73BB #BB7398
triadic
#BA73BB #BBBA73 #73BBBA
tetradic
#BA73BB #BB9673 #74BB73 #7398BB
square
#BA73BB #BB9673 #74BB73 #7398BB
split-complementary
#BA73BB #98BB73 #73BB96
monochromatic
#783B79 #A14FA2 #BA73BB #CE9CCF #E3C5E3

Accessibility & contrast

On white

3.36
#BA73BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#BA73BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA73BB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA73BB#FFFFFF#000000##000000
##BA73BB1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D86BE
Deuteranopia (green-blind)
#808FB9
Tritanopia (blue-blind)
#BE7A8E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba73bb;
/* rgb */ color: rgb(186, 115, 187);
/* oklch */ color: oklch(65.6% 0.130 326.4);
Tailwind
colors: {
  custom: {
    50: '#d09dcf',
    500: '#ba73bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba73bb;
$custom-light: #d09dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba73bb",
  "rgb": {
    "r": 186,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 299.167,
    "s": 34.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65646,
    "c": 0.1302,
    "h": 326.4
  },
  "luminance": 0.26288
}

Semantic roles & 50–950 ramp

primary
#BA73BB
secondary
#B7D3B7
accent
#CB5D5F
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA73BB

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

Preview Lab → · Contrast checker → · Palette generator →

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