#BA73ED#BA73ED

#BA73ED is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.1% C 0.184 H 309.2°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#BA73ED
RGBrgb(186, 115, 237)
HSLhsl(275, 77%, 69%)
HSVhsv(275, 51%, 93%)
CMYKcmyk(21.5%, 51.5%, 0%, 7.1%)
CIE-LABlab(60.62, 49.57, -50.94)
CIE-LCHlch(60.62, 71.08, 314.21°)
OKLaboklab(68.12% 0.1164 -0.1427)
OKLCHoklch(68.12% 0.184 309.2)
XYZxyz(41.6636, 28.8156, 83.4715)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA73ED #A6ED73
analogous
#7D73ED #BA73ED #ED73E3
triadic
#BA73ED #EDBA73 #73EDBA
tetradic
#BA73ED #ED7D73 #A6ED73 #73E3ED
square
#BA73ED #ED7D73 #A6ED73 #73E3ED
split-complementary
#BA73ED #E3ED73 #73ED7D
monochromatic
#811ACB #9F3DE6 #BA73ED #D5A9F4 #EFDFFB

Accessibility & contrast

On white

3.11
#BA73ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#BA73ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA73ED
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA73ED#FFFFFF#000000##000000
##BA73ED1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF1
Deuteranopia (green-blind)
#6793EA
Tritanopia (blue-blind)
#B388A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba73ed;
/* rgb */ color: rgb(186, 115, 237);
/* oklch */ color: oklch(68.1% 0.184 309.2);
Tailwind
colors: {
  custom: {
    50: '#d19df3',
    500: '#ba73ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba73ed;
$custom-light: #d19df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba73ed",
  "rgb": {
    "r": 186,
    "g": 115,
    "b": 237
  },
  "hsl": {
    "h": 274.918,
    "s": 77.215,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6812,
    "c": 0.18413,
    "h": 309.2
  },
  "luminance": 0.28815
}

Semantic roles & 50–950 ramp

primary
#BA73ED
secondary
#DBF0CC
accent
#D90C62
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA73ED

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

Preview Lab → · Contrast checker → · Palette generator →

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