#BA76CA#BA76CA

#BA76CA is a light, vivid purple. Relative luminance 0.277; OKLCH L 66.8% C 0.140 H 319.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#BA76CA
RGBrgb(186, 118, 202)
HSLhsl(289, 44%, 63%)
HSVhsv(289, 42%, 79%)
CMYKcmyk(7.9%, 41.6%, 0%, 20.8%)
CIE-LABlab(59.58, 40.57, -32.96)
CIE-LCHlch(59.58, 52.27, 320.91°)
OKLaboklab(66.81% 0.1073 -0.0907)
OKLCHoklch(66.81% 0.14 319.8)
XYZxyz(37.3874, 27.6615, 59.2354)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76CA #86CA76
analogous
#9076CA #BA76CA #CA76B0
triadic
#BA76CA #CABA76 #76CABA
tetradic
#BA76CA #CA9076 #86CA76 #76B0CA
square
#BA76CA #CA9076 #86CA76 #76B0CA
split-complementary
#BA76CA #B0CA76 #76CA90
monochromatic
#7E378E #A44AB9 #BA76CA #D0A2DB #E6CEEC

Accessibility & contrast

On white

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

On black

6.53
#BA76CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76CA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76CA#FFFFFF#000000##000000
##BA76CA1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCD
Deuteranopia (green-blind)
#7C92C7
Tritanopia (blue-blind)
#BB8096
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba76ca;
/* rgb */ color: rgb(186, 118, 202);
/* oklch */ color: oklch(66.8% 0.140 319.8);
Tailwind
colors: {
  custom: {
    50: '#d09fda',
    500: '#ba76ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba76ca;
$custom-light: #d09fda;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76ca",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 288.571,
    "s": 44.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66805,
    "c": 0.14048,
    "h": 319.8
  },
  "luminance": 0.2766
}

Semantic roles & 50–950 ramp

primary
#BA76CA
secondary
#C4DDBF
accent
#B72E48
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140F15
muted
#827E83

Preview Lab

Preview with #BA76CA

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

Preview Lab → · Contrast checker → · Palette generator →

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