#BA76DB#BA76DB

#BA76DB is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.6% C 0.159 H 313.8°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#BA76DB
RGBrgb(186, 118, 219)
HSLhsl(280, 58%, 66%)
HSVhsv(280, 46%, 86%)
CMYKcmyk(15.1%, 46.1%, 0%, 14.1%)
CIE-LABlab(60.35, 44.08, -41.33)
CIE-LCHlch(60.35, 60.42, 316.84°)
OKLaboklab(67.63% 0.1102 -0.1148)
OKLCHoklch(67.63% 0.159 313.8)
XYZxyz(39.5122, 28.5114, 70.4259)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76DB #97DB76
analogous
#8776DB #BA76DB #DB76C9
triadic
#BA76DB #DBBA76 #76DBBA
tetradic
#BA76DB #DB8776 #97DB76 #76C9DB
square
#BA76DB #DB8776 #97DB76 #76C9DB
split-complementary
#BA76DB #C9DB76 #76DB87
monochromatic
#812DAA #A246CE #BA76DB #D2A6E8 #EBD7F4

Accessibility & contrast

On white

3.13
#BA76DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#BA76DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76DB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76DB#FFFFFF#000000##000000
##BA76DB1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EDF
Deuteranopia (green-blind)
#7493D8
Tritanopia (blue-blind)
#B7859E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba76db;
/* rgb */ color: rgb(186, 118, 219);
/* oklch */ color: oklch(67.6% 0.159 313.8);
Tailwind
colors: {
  custom: {
    50: '#d09fe6',
    500: '#ba76db',
    950: '#000000',
  },
}
SCSS
$custom: #ba76db;
$custom-light: #d09fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76db",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 280.396,
    "s": 58.382,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67629,
    "c": 0.15914,
    "h": 313.8
  },
  "luminance": 0.2851
}

Semantic roles & 50–950 ramp

primary
#BA76DB
secondary
#D1E7C6
accent
#C62056
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BA76DB

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

Preview Lab → · Contrast checker → · Palette generator →

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