#BA76CD#BA76CD

#BA76CD is a light, vivid purple. Relative luminance 0.278; OKLCH L 66.9% C 0.144 H 318.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#BA76CD
RGBrgb(186, 118, 205)
HSLhsl(287, 47%, 63%)
HSVhsv(287, 42%, 80%)
CMYKcmyk(9.3%, 42.4%, 0%, 19.6%)
CIE-LABlab(59.71, 41.18, -34.45)
CIE-LCHlch(59.71, 53.69, 320.08°)
OKLaboklab(66.95% 0.1079 -0.095)
OKLCHoklch(66.95% 0.144 318.6)
XYZxyz(37.7461, 27.8049, 61.1243)
Luminance0.2780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76CD #89CD76
analogous
#8E76CD #BA76CD #CD76B4
triadic
#BA76CD #CDBA76 #76CDBA
tetradic
#BA76CD #CD8E76 #89CD76 #76B4CD
square
#BA76CD #CD8E76 #89CD76 #76B4CD
split-complementary
#BA76CD #B4CD76 #76CD8E
monochromatic
#7F3693 #A349BD #BA76CD #D1A3DD #E7D0EE

Accessibility & contrast

On white

3.20
#BA76CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#BA76CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76CD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76CD#FFFFFF#000000##000000
##BA76CD1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BD0
Deuteranopia (green-blind)
#7B92CA
Tritanopia (blue-blind)
#BA8198
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba76cd;
/* rgb */ color: rgb(186, 118, 205);
/* oklch */ color: oklch(66.9% 0.144 318.6);
Tailwind
colors: {
  custom: {
    50: '#d09fdc',
    500: '#ba76cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba76cd;
$custom-light: #d09fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76cd",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 286.897,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66946,
    "c": 0.14371,
    "h": 318.6
  },
  "luminance": 0.27804
}

Semantic roles & 50–950 ramp

primary
#BA76CD
secondary
#C7DFC0
accent
#BA2C4B
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #BA76CD

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

Preview Lab → · Contrast checker → · Palette generator →

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