#BA73DE#BA73DE

#BA73DE is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.3% C 0.167 H 313.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#BA73DE
RGBrgb(186, 115, 222)
HSLhsl(280, 62%, 66%)
HSVhsv(280, 48%, 87%)
CMYKcmyk(16.2%, 48.2%, 0%, 12.9%)
CIE-LABlab(59.87, 46.31, -43.77)
CIE-LCHlch(59.87, 63.72, 316.62°)
OKLaboklab(67.32% 0.1148 -0.1218)
OKLCHoklch(67.32% 0.167 313.3)
XYZxyz(39.5630, 27.9754, 72.4088)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA73DE #97DE73
analogous
#8473DE #BA73DE #DE73CC
triadic
#BA73DE #DEBA73 #73DEBA
tetradic
#BA73DE #DE8473 #97DE73 #73CCDE
square
#BA73DE #DE8473 #97DE73 #73CCDE
split-complementary
#BA73DE #CCDE73 #73DE84
monochromatic
#8129AE #A241D2 #BA73DE #D2A5EA #EBD6F5

Accessibility & contrast

On white

3.18
#BA73DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#BA73DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA73DE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA73DE#FFFFFF#000000##000000
##BA73DE1.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8CE2
Deuteranopia (green-blind)
#7092DB
Tritanopia (blue-blind)
#B7849E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba73de;
/* rgb */ color: rgb(186, 115, 222);
/* oklch */ color: oklch(67.3% 0.167 313.3);
Tailwind
colors: {
  custom: {
    50: '#d19de9',
    500: '#ba73de',
    950: '#000000',
  },
}
SCSS
$custom: #ba73de;
$custom-light: #d19de9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba73de",
  "rgb": {
    "r": 186,
    "g": 115,
    "b": 222
  },
  "hsl": {
    "h": 279.813,
    "s": 61.85,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67318,
    "c": 0.1674,
    "h": 313.3
  },
  "luminance": 0.27974
}

Semantic roles & 50–950 ramp

primary
#BA73DE
secondary
#D1E8C5
accent
#CA1C56
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA73DE

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

Preview Lab → · Contrast checker → · Palette generator →

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