#BA76BF#BA76BF

#BA76BF is a light, vivid purple. Relative luminance 0.272; OKLCH L 66.3% C 0.129 H 324.5°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#BA76BF
RGBrgb(186, 118, 191)
HSLhsl(296, 36%, 61%)
HSVhsv(296, 38%, 75%)
CMYKcmyk(2.6%, 38.2%, 0%, 25.1%)
CIE-LABlab(59.12, 38.40, -27.43)
CIE-LCHlch(59.12, 47.19, 324.46°)
OKLaboklab(66.31% 0.1049 -0.0749)
OKLCHoklch(66.31% 0.129 324.5)
XYZxyz(36.1312, 27.1590, 52.6191)
Luminance0.2716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76BF #7BBF76
analogous
#9576BF #BA76BF #BF769F
triadic
#BA76BF #BFBA76 #76BFBA
tetradic
#BA76BF #BF9576 #7BBF76 #769FBF
square
#BA76BF #BF9576 #7BBF76 #769FBF
split-complementary
#BA76BF #9FBF76 #76BF95
monochromatic
#7B3B7F #A34FA9 #BA76BF #CFA0D2 #E4C9E6

Accessibility & contrast

On white

3.27
#BA76BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#BA76BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76BF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76BF#FFFFFF#000000##000000
##BA76BF1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C2
Deuteranopia (green-blind)
#8091BD
Tritanopia (blue-blind)
#BD7E92
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba76bf;
/* rgb */ color: rgb(186, 118, 191);
/* oklch */ color: oklch(66.3% 0.129 324.5);
Tailwind
colors: {
  custom: {
    50: '#d09fd2',
    500: '#ba76bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba76bf;
$custom-light: #d09fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76bf",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 295.89,
    "s": 36.318,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66308,
    "c": 0.12893,
    "h": 324.5
  },
  "luminance": 0.27158
}

Semantic roles & 50–950 ramp

primary
#BA76BF
secondary
#BCD6BB
accent
#AF363F
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA76BF

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

Preview Lab → · Contrast checker → · Palette generator →

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