#BA76BC#BA76BC

#BA76BC is a light, vivid purple. Relative luminance 0.270; OKLCH L 66.2% C 0.126 H 325.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#BA76BC
RGBrgb(186, 118, 188)
HSLhsl(298, 34%, 60%)
HSVhsv(298, 37%, 74%)
CMYKcmyk(1.1%, 37.2%, 0%, 26.3%)
CIE-LABlab(59.00, 37.83, -25.91)
CIE-LCHlch(59.00, 45.85, 325.59°)
OKLaboklab(66.18% 0.1042 -0.0706)
OKLCHoklch(66.18% 0.126 325.9)
XYZxyz(35.8044, 27.0283, 50.8982)
Luminance0.2703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76BC #78BC76
analogous
#9776BC #BA76BC #BC769B
triadic
#BA76BC #BCBA76 #76BCBA
tetradic
#BA76BC #BC9776 #78BC76 #769BBC
square
#BA76BC #BC9776 #78BC76 #769BBC
split-complementary
#BA76BC #9BBC76 #76BC97
monochromatic
#7A3C7B #A250A4 #BA76BC #CF9FD0 #E3C8E4

Accessibility & contrast

On white

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

On black

6.41
#BA76BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76BC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76BC#FFFFFF#000000##000000
##BA76BC1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089BF
Deuteranopia (green-blind)
#8291BA
Tritanopia (blue-blind)
#BE7D90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba76bc;
/* rgb */ color: rgb(186, 118, 188);
/* oklch */ color: oklch(66.2% 0.126 325.9);
Tailwind
colors: {
  custom: {
    50: '#d09fd0',
    500: '#ba76bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba76bc;
$custom-light: #d09fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76bc",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 188
  },
  "hsl": {
    "h": 298.286,
    "s": 34.314,
    "l": 60
  },
  "oklch": {
    "l": 0.66178,
    "c": 0.12588,
    "h": 325.9
  },
  "luminance": 0.27027
}

Semantic roles & 50–950 ramp

primary
#BA76BC
secondary
#BAD4B9
accent
#CA5D61
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA76BC

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

Preview Lab → · Contrast checker → · Palette generator →

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