#BA73CD#BA73CD

#BA73CD is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.5% C 0.149 H 318.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#BA73CD
RGBrgb(186, 115, 205)
HSLhsl(287, 47%, 63%)
HSVhsv(287, 44%, 80%)
CMYKcmyk(9.3%, 43.9%, 0%, 19.6%)
CIE-LABlab(59.08, 42.79, -35.44)
CIE-LCHlch(59.08, 55.56, 320.36°)
OKLaboklab(66.47% 0.1122 -0.0978)
OKLCHoklch(66.47% 0.149 318.9)
XYZxyz(37.3984, 27.1096, 61.0084)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA73CD #86CD73
analogous
#8D73CD #BA73CD #CD73B3
triadic
#BA73CD #CDBA73 #73CDBA
tetradic
#BA73CD #CD8D73 #86CD73 #73B3CD
square
#BA73CD #CD8D73 #86CD73 #73B3CD
split-complementary
#BA73CD #B3CD73 #73CD8D
monochromatic
#7E3492 #A446BD #BA73CD #D0A0DD #E6CDED

Accessibility & contrast

On white

3.27
#BA73CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#BA73CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA73CD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA73CD#FFFFFF#000000##000000
##BA73CD1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589D0
Deuteranopia (green-blind)
#7891CA
Tritanopia (blue-blind)
#BB7F96
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba73cd;
/* rgb */ color: rgb(186, 115, 205);
/* oklch */ color: oklch(66.5% 0.149 318.9);
Tailwind
colors: {
  custom: {
    50: '#d09ddc',
    500: '#ba73cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba73cd;
$custom-light: #d09ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba73cd",
  "rgb": {
    "r": 186,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 287.333,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6647,
    "c": 0.14884,
    "h": 318.9
  },
  "luminance": 0.27108
}

Semantic roles & 50–950 ramp

primary
#BA73CD
secondary
#C4DEBE
accent
#BB2B49
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #BA73CD

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

Preview Lab → · Contrast checker → · Palette generator →

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