#BA73CE#BA73CE

#BA73CE is a light, vivid purple. Relative luminance 0.272; OKLCH L 66.5% C 0.150 H 318.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#BA73CE
RGBrgb(186, 115, 206)
HSLhsl(287, 48%, 63%)
HSVhsv(287, 44%, 81%)
CMYKcmyk(9.7%, 44.2%, 0%, 19.2%)
CIE-LABlab(59.12, 42.99, -35.94)
CIE-LCHlch(59.12, 56.03, 320.11°)
OKLaboklab(66.52% 0.1124 -0.0992)
OKLCHoklch(66.52% 0.15 318.6)
XYZxyz(37.5195, 27.1580, 61.6462)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA73CE #87CE73
analogous
#8C73CE #BA73CE #CE73B4
triadic
#BA73CE #CEBA73 #73CEBA
tetradic
#BA73CE #CE8C73 #87CE73 #73B4CE
square
#BA73CE #CE8C73 #87CE73 #73B4CE
split-complementary
#BA73CE #B4CE73 #73CE8C
monochromatic
#7E3393 #A446BE #BA73CE #D0A0DE #E7CEEE

Accessibility & contrast

On white

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

On black

6.43
#BA73CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA73CE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA73CE#FFFFFF#000000##000000
##BA73CE1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#658AD1
Deuteranopia (green-blind)
#7891CB
Tritanopia (blue-blind)
#BA7F97
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba73ce;
/* rgb */ color: rgb(186, 115, 206);
/* oklch */ color: oklch(66.5% 0.150 318.6);
Tailwind
colors: {
  custom: {
    50: '#d09ddd',
    500: '#ba73ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba73ce;
$custom-light: #d09ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba73ce",
  "rgb": {
    "r": 186,
    "g": 115,
    "b": 206
  },
  "hsl": {
    "h": 286.813,
    "s": 48.148,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66518,
    "c": 0.14991,
    "h": 318.6
  },
  "luminance": 0.27157
}

Semantic roles & 50–950 ramp

primary
#BA73CE
secondary
#C5DFBE
accent
#BB2A4A
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #BA73CE

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

Preview Lab → · Contrast checker → · Palette generator →

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