#BA76B2#BA76B2

#BA76B2 is a light, moderate purple. Relative luminance 0.266; OKLCH L 65.8% C 0.116 H 331.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#BA76B2
RGBrgb(186, 118, 178)
HSLhsl(307, 33%, 60%)
HSVhsv(307, 37%, 73%)
CMYKcmyk(0%, 36.6%, 4.3%, 27.1%)
CIE-LABlab(58.61, 35.96, -20.79)
CIE-LCHlch(58.61, 41.54, 329.97°)
OKLaboklab(65.76% 0.1017 -0.0562)
OKLCHoklch(65.76% 0.116 331.1)
XYZxyz(34.7636, 26.6119, 45.4163)
Luminance0.2661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76B2 #76BA7E
analogous
#A076BA #BA76B2 #BA7690
triadic
#BA76B2 #B2BA76 #76B2BA
tetradic
#BA76B2 #BAA076 #76BA7E #7690BA
square
#BA76B2 #BAA076 #76BA7E #7690BA
split-complementary
#BA76B2 #90BA76 #76BAA0
monochromatic
#793D72 #A15198 #BA76B2 #CE9FC9 #E3C7E0

Accessibility & contrast

On white

3.32
#BA76B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#BA76B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76B2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76B2#FFFFFF#000000##000000
##BA76B21.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B4
Deuteranopia (green-blind)
#8590B0
Tritanopia (blue-blind)
#BF7A8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba76b2;
/* rgb */ color: rgb(186, 118, 178);
/* oklch */ color: oklch(65.8% 0.116 331.1);
Tailwind
colors: {
  custom: {
    50: '#d09fc9',
    500: '#ba76b2',
    950: '#000000',
  },
}
SCSS
$custom: #ba76b2;
$custom-light: #d09fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76b2",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 178
  },
  "hsl": {
    "h": 307.059,
    "s": 33.01,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65758,
    "c": 0.11615,
    "h": 331.1
  },
  "luminance": 0.2661
}

Semantic roles & 50–950 ramp

primary
#BA76B2
secondary
#B9D3BC
accent
#C96B5F
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140E13
muted
#827E82

Preview Lab

Preview with #BA76B2

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

Preview Lab → · Contrast checker → · Palette generator →

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