#BA73DD#BA73DD

#BA73DD is a light, vivid purple. Relative luminance 0.279; OKLCH L 67.3% C 0.166 H 313.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#BA73DD
RGBrgb(186, 115, 221)
HSLhsl(280, 61%, 66%)
HSVhsv(280, 48%, 87%)
CMYKcmyk(15.8%, 48%, 0%, 13.3%)
CIE-LABlab(59.82, 46.10, -43.28)
CIE-LCHlch(59.82, 63.24, 316.81°)
OKLaboklab(67.27% 0.1147 -0.1204)
OKLCHoklch(67.27% 0.166 313.6)
XYZxyz(39.4294, 27.9220, 71.7050)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA73DD #96DD73
analogous
#8573DD #BA73DD #DD73CB
triadic
#BA73DD #DDBA73 #73DDBA
tetradic
#BA73DD #DD8573 #96DD73 #73CBDD
square
#BA73DD #DD8573 #96DD73 #73CBDD
split-complementary
#BA73DD #CBDD73 #73DD85
monochromatic
#812AAC #A242D1 #BA73DD #D2A4E9 #EBD5F5

Accessibility & contrast

On white

3.19
#BA73DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#BA73DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA73DD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA73DD#FFFFFF#000000##000000
##BA73DD1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE1
Deuteranopia (green-blind)
#7092DA
Tritanopia (blue-blind)
#B7839E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba73dd;
/* rgb */ color: rgb(186, 115, 221);
/* oklch */ color: oklch(67.3% 0.166 313.6);
Tailwind
colors: {
  custom: {
    50: '#d19de8',
    500: '#ba73dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba73dd;
$custom-light: #d19de8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba73dd",
  "rgb": {
    "r": 186,
    "g": 115,
    "b": 221
  },
  "hsl": {
    "h": 280.189,
    "s": 60.92,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67266,
    "c": 0.16628,
    "h": 313.6
  },
  "luminance": 0.27921
}

Semantic roles & 50–950 ramp

primary
#BA73DD
secondary
#D0E7C4
accent
#C91D56
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA73DD

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

Preview Lab → · Contrast checker → · Palette generator →

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