#BA76DC#BA76DC

#BA76DC is a light, vivid purple. Relative luminance 0.286; OKLCH L 67.7% C 0.160 H 313.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#BA76DC
RGBrgb(186, 118, 220)
HSLhsl(280, 59%, 66%)
HSVhsv(280, 46%, 86%)
CMYKcmyk(15.5%, 46.4%, 0%, 13.7%)
CIE-LABlab(60.40, 44.29, -41.82)
CIE-LCHlch(60.40, 60.91, 316.65°)
OKLaboklab(67.68% 0.1104 -0.1162)
OKLCHoklch(67.68% 0.16 313.5)
XYZxyz(39.6443, 28.5642, 71.1213)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76DC #98DC76
analogous
#8776DC #BA76DC #DC76CB
triadic
#BA76DC #DCBA76 #76DCBA
tetradic
#BA76DC #DC8776 #98DC76 #76CBDC
square
#BA76DC #DC8776 #98DC76 #76CBDC
split-complementary
#BA76DC #CBDC76 #76DC87
monochromatic
#812CAC #A145D0 #BA76DC #D3A7E8 #EBD7F5

Accessibility & contrast

On white

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

On black

6.71
#BA76DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76DC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76DC#FFFFFF#000000##000000
##BA76DC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE0
Deuteranopia (green-blind)
#7493D9
Tritanopia (blue-blind)
#B7859F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba76dc;
/* rgb */ color: rgb(186, 118, 220);
/* oklch */ color: oklch(67.7% 0.160 313.5);
Tailwind
colors: {
  custom: {
    50: '#d09fe7',
    500: '#ba76dc',
    950: '#000000',
  },
}
SCSS
$custom: #ba76dc;
$custom-light: #d09fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76dc",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 280,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6768,
    "c": 0.16025,
    "h": 313.5
  },
  "luminance": 0.28563
}

Semantic roles & 50–950 ramp

primary
#BA76DC
secondary
#D1E8C6
accent
#C71F57
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BA76DC

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

Preview Lab → · Contrast checker → · Palette generator →

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