#BA76BB#BA76BB

#BA76BB is a light, vivid purple. Relative luminance 0.270; OKLCH L 66.1% C 0.125 H 326.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#BA76BB
RGBrgb(186, 118, 187)
HSLhsl(299, 34%, 60%)
HSVhsv(299, 37%, 73%)
CMYKcmyk(0.5%, 36.9%, 0%, 26.7%)
CIE-LABlab(58.96, 37.64, -25.40)
CIE-LCHlch(58.96, 45.41, 325.99°)
OKLaboklab(66.14% 0.104 -0.0691)
OKLCHoklch(66.14% 0.125 326.4)
XYZxyz(35.6970, 26.9853, 50.3324)
Luminance0.2698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76BB #77BB76
analogous
#9776BB #BA76BB #BB769A
triadic
#BA76BB #BBBA76 #76BBBA
tetradic
#BA76BB #BB9776 #77BB76 #769ABB
square
#BA76BB #BB9776 #77BB76 #769ABB
split-complementary
#BA76BB #9ABB76 #76BB97
monochromatic
#793D7A #A251A3 #BA76BB #CF9FCF #E3C8E4

Accessibility & contrast

On white

3.28
#BA76BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#BA76BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76BB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76BB#FFFFFF#000000##000000
##BA76BB1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7188BE
Deuteranopia (green-blind)
#8291B9
Tritanopia (blue-blind)
#BE7D90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba76bb;
/* rgb */ color: rgb(186, 118, 187);
/* oklch */ color: oklch(66.1% 0.125 326.4);
Tailwind
colors: {
  custom: {
    50: '#d09fcf',
    500: '#ba76bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba76bb;
$custom-light: #d09fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76bb",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 299.13,
    "s": 33.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66135,
    "c": 0.12487,
    "h": 326.4
  },
  "luminance": 0.26984
}

Semantic roles & 50–950 ramp

primary
#BA76BB
secondary
#B9D4B9
accent
#CA5E60
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA76BB

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

Preview Lab → · Contrast checker → · Palette generator →

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