#BA76BD#BA76BD

#BA76BD is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.2% C 0.127 H 325.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#BA76BD
RGBrgb(186, 118, 189)
HSLhsl(297, 35%, 60%)
HSVhsv(297, 38%, 74%)
CMYKcmyk(1.6%, 37.6%, 0%, 25.9%)
CIE-LABlab(59.04, 38.02, -26.42)
CIE-LCHlch(59.04, 46.30, 325.21°)
OKLaboklab(66.22% 0.1045 -0.072)
OKLCHoklch(66.22% 0.127 325.4)
XYZxyz(35.9126, 27.0715, 51.4679)
Luminance0.2707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76BD #79BD76
analogous
#9776BD #BA76BD #BD769C
triadic
#BA76BD #BDBA76 #76BDBA
tetradic
#BA76BD #BD9776 #79BD76 #769CBD
square
#BA76BD #BD9776 #79BD76 #769CBD
split-complementary
#BA76BD #9CBD76 #76BD97
monochromatic
#7A3C7D #A250A6 #BA76BD #CF9FD1 #E4C9E5

Accessibility & contrast

On white

3.27
#BA76BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#BA76BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76BD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76BD#FFFFFF#000000##000000
##BA76BD1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089C0
Deuteranopia (green-blind)
#8191BB
Tritanopia (blue-blind)
#BD7D91
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba76bd;
/* rgb */ color: rgb(186, 118, 189);
/* oklch */ color: oklch(66.2% 0.127 325.4);
Tailwind
colors: {
  custom: {
    50: '#d09fd1',
    500: '#ba76bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba76bd;
$custom-light: #d09fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76bd",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 189
  },
  "hsl": {
    "h": 297.465,
    "s": 34.975,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66221,
    "c": 0.12689,
    "h": 325.4
  },
  "luminance": 0.2707
}

Semantic roles & 50–950 ramp

primary
#BA76BD
secondary
#BBD5BA
accent
#AE383D
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA76BD

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

Preview Lab → · Contrast checker → · Palette generator →

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