#BA76CF#BA76CF

#BA76CF is a light, vivid purple. Relative luminance 0.279; OKLCH L 67.0% C 0.146 H 317.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#BA76CF
RGBrgb(186, 118, 207)
HSLhsl(286, 48%, 64%)
HSVhsv(286, 43%, 81%)
CMYKcmyk(10.1%, 43%, 0%, 18.8%)
CIE-LABlab(59.80, 41.58, -35.44)
CIE-LCHlch(59.80, 54.64, 319.56°)
OKLaboklab(67.04% 0.1083 -0.0978)
OKLCHoklch(67.04% 0.146 317.9)
XYZxyz(37.9891, 27.9021, 62.4039)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76CF #8BCF76
analogous
#8D76CF #BA76CF #CF76B7
triadic
#BA76CF #CFBA76 #76CFBA
tetradic
#BA76CF #CF8D76 #8BCF76 #76B7CF
square
#BA76CF #CF8D76 #8BCF76 #76B7CF
split-complementary
#BA76CF #B7CF76 #76CF8D
monochromatic
#7F3596 #A349BF #BA76CF #D1A3DF #E8D1EF

Accessibility & contrast

On white

3.19
#BA76CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#BA76CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76CF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76CF#FFFFFF#000000##000000
##BA76CF1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#688CD2
Deuteranopia (green-blind)
#7A92CC
Tritanopia (blue-blind)
#BA8299
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba76cf;
/* rgb */ color: rgb(186, 118, 207);
/* oklch */ color: oklch(67.0% 0.146 317.9);
Tailwind
colors: {
  custom: {
    50: '#d09fde',
    500: '#ba76cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba76cf;
$custom-light: #d09fde;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76cf",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 285.843,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67041,
    "c": 0.14588,
    "h": 317.9
  },
  "luminance": 0.27901
}

Semantic roles & 50–950 ramp

primary
#BA76CF
secondary
#C8E0C1
accent
#BB2A4C
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #BA76CF

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

Preview Lab → · Contrast checker → · Palette generator →

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