#BA76BE#BA76BE

#BA76BE is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.3% C 0.128 H 324.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#BA76BE
RGBrgb(186, 118, 190)
HSLhsl(297, 36%, 60%)
HSVhsv(297, 38%, 75%)
CMYKcmyk(2.1%, 37.9%, 0%, 25.5%)
CIE-LABlab(59.08, 38.21, -26.92)
CIE-LCHlch(59.08, 46.74, 324.83°)
OKLaboklab(66.26% 0.1047 -0.0735)
OKLCHoklch(66.26% 0.128 324.9)
XYZxyz(36.0215, 27.1151, 52.0415)
Luminance0.2711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76BE #7ABE76
analogous
#9676BE #BA76BE #BE769E
triadic
#BA76BE #BEBA76 #76BEBA
tetradic
#BA76BE #BE9676 #7ABE76 #769EBE
square
#BA76BE #BE9676 #7ABE76 #769EBE
split-complementary
#BA76BE #9EBE76 #76BE96
monochromatic
#7A3C7E #A24FA7 #BA76BE #CFA0D2 #E4C9E5

Accessibility & contrast

On white

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

On black

6.42
#BA76BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76BE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76BE#FFFFFF#000000##000000
##BA76BE1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C1
Deuteranopia (green-blind)
#8191BC
Tritanopia (blue-blind)
#BD7D91
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba76be;
/* rgb */ color: rgb(186, 118, 190);
/* oklch */ color: oklch(66.3% 0.128 324.9);
Tailwind
colors: {
  custom: {
    50: '#d09fd1',
    500: '#ba76be',
    950: '#000000',
  },
}
SCSS
$custom: #ba76be;
$custom-light: #d09fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76be",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 190
  },
  "hsl": {
    "h": 296.667,
    "s": 35.644,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66264,
    "c": 0.1279,
    "h": 324.9
  },
  "luminance": 0.27114
}

Semantic roles & 50–950 ramp

primary
#BA76BE
secondary
#BCD6BA
accent
#AF373E
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA76BE

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

Preview Lab → · Contrast checker → · Palette generator →

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