#BA73BD#BA73BD

#BA73BD is a light, vivid purple. Relative luminance 0.264; OKLCH L 65.7% C 0.132 H 325.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#BA73BD
RGBrgb(186, 115, 189)
HSLhsl(298, 36%, 60%)
HSVhsv(298, 39%, 74%)
CMYKcmyk(1.6%, 39.2%, 0%, 25.9%)
CIE-LABlab(58.39, 39.64, -27.42)
CIE-LCHlch(58.39, 48.20, 325.33°)
OKLaboklab(65.73% 0.109 -0.0748)
OKLCHoklch(65.73% 0.132 325.5)
XYZxyz(35.5649, 26.3762, 51.3520)
Luminance0.2637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA73BD #76BD73
analogous
#9573BD #BA73BD #BD739B
triadic
#BA73BD #BDBA73 #73BDBA
tetradic
#BA73BD #BD9573 #76BD73 #739BBD
square
#BA73BD #BD9573 #76BD73 #739BBD
split-complementary
#BA73BD #9BBD73 #73BD95
monochromatic
#793A7B #A14EA5 #BA73BD #CE9DD1 #E3C6E4

Accessibility & contrast

On white

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

On black

6.28
#BA73BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA73BD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA73BD#FFFFFF#000000##000000
##BA73BD1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba73bd;
/* rgb */ color: rgb(186, 115, 189);
/* oklch */ color: oklch(65.7% 0.132 325.5);
Tailwind
colors: {
  custom: {
    50: '#d09dd1',
    500: '#ba73bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba73bd;
$custom-light: #d09dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba73bd",
  "rgb": {
    "r": 186,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 297.568,
    "s": 35.922,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65734,
    "c": 0.1322,
    "h": 325.5
  },
  "luminance": 0.26375
}

Semantic roles & 50–950 ramp

primary
#BA73BD
secondary
#B9D4B8
accent
#CC5C60
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA73BD

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

Preview Lab → · Contrast checker → · Palette generator →

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