#BA76CB#BA76CB

#BA76CB is a light, vivid purple. Relative luminance 0.277; OKLCH L 66.9% C 0.142 H 319.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#BA76CB
RGBrgb(186, 118, 203)
HSLhsl(288, 45%, 63%)
HSVhsv(288, 42%, 80%)
CMYKcmyk(8.4%, 41.9%, 0%, 20.4%)
CIE-LABlab(59.62, 40.77, -33.45)
CIE-LCHlch(59.62, 52.74, 320.63°)
OKLaboklab(66.85% 0.1075 -0.0921)
OKLCHoklch(66.85% 0.142 319.4)
XYZxyz(37.5062, 27.7090, 59.8610)
Luminance0.2771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76CB #87CB76
analogous
#8F76CB #BA76CB #CB76B1
triadic
#BA76CB #CBBA76 #76CBBA
tetradic
#BA76CB #CB8F76 #87CB76 #76B1CB
square
#BA76CB #CB8F76 #87CB76 #76B1CB
split-complementary
#BA76CB #B1CB76 #76CB8F
monochromatic
#7E3790 #A44ABA #BA76CB #D0A2DC #E7CFED

Accessibility & contrast

On white

3.21
#BA76CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#BA76CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76CB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76CB#FFFFFF#000000##000000
##BA76CB1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#7C92C8
Tritanopia (blue-blind)
#BB8197
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba76cb;
/* rgb */ color: rgb(186, 118, 203);
/* oklch */ color: oklch(66.9% 0.142 319.4);
Tailwind
colors: {
  custom: {
    50: '#d09fdb',
    500: '#ba76cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba76cb;
$custom-light: #d09fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76cb",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 288,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66852,
    "c": 0.14154,
    "h": 319.4
  },
  "luminance": 0.27708
}

Semantic roles & 50–950 ramp

primary
#BA76CB
secondary
#C5DEBF
accent
#B82D49
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #BA76CB

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

Preview Lab → · Contrast checker → · Palette generator →

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