#BA76CE#BA76CE

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

Color values

HEX#BA76CE
RGBrgb(186, 118, 206)
HSLhsl(286, 47%, 64%)
HSVhsv(286, 43%, 81%)
CMYKcmyk(9.7%, 42.7%, 0%, 19.2%)
CIE-LABlab(59.76, 41.38, -34.94)
CIE-LCHlch(59.76, 54.16, 319.82°)
OKLaboklab(66.99% 0.1081 -0.0964)
OKLCHoklch(66.99% 0.145 318.3)
XYZxyz(37.8672, 27.8534, 61.7621)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76CE #8ACE76
analogous
#8E76CE #BA76CE #CE76B6
triadic
#BA76CE #CEBA76 #76CEBA
tetradic
#BA76CE #CE8E76 #8ACE76 #76B6CE
square
#BA76CE #CE8E76 #8ACE76 #76B6CE
split-complementary
#BA76CE #B6CE76 #76CE8E
monochromatic
#7F3594 #A349BE #BA76CE #D1A3DE #E7D0EE

Accessibility & contrast

On white

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

On black

6.57
#BA76CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76CE
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76CE#FFFFFF#000000##000000
##BA76CE1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD1
Deuteranopia (green-blind)
#7A92CB
Tritanopia (blue-blind)
#BA8198
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba76ce;
/* rgb */ color: rgb(186, 118, 206);
/* oklch */ color: oklch(67.0% 0.145 318.3);
Tailwind
colors: {
  custom: {
    50: '#d09fdd',
    500: '#ba76ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba76ce;
$custom-light: #d09fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76ce",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 206
  },
  "hsl": {
    "h": 286.364,
    "s": 47.312,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66993,
    "c": 0.1448,
    "h": 318.3
  },
  "luminance": 0.27852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA76CE

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

Preview Lab → · Contrast checker → · Palette generator →

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