#BA96BB#BA96BB

#BA96BB is a light, moderate purple. Relative luminance 0.358; OKLCH L 71.8% C 0.067 H 325.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#BA96BB
RGBrgb(186, 150, 187)
HSLhsl(298, 21%, 66%)
HSVhsv(298, 20%, 73%)
CMYKcmyk(0.5%, 19.8%, 0%, 26.7%)
CIE-LABlab(66.40, 19.92, -14.07)
CIE-LCHlch(66.40, 24.39, 324.76°)
OKLaboklab(71.8% 0.0547 -0.0378)
OKLCHoklch(71.8% 0.067 325.4)
XYZxyz(40.1246, 35.8405, 51.8083)
Luminance0.3584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA96BB #97BB96
analogous
#A796BB #BA96BB #BB96A9
triadic
#BA96BB #BBBA96 #96BBBA
tetradic
#BA96BB #BBA796 #97BB96 #96A9BB
square
#BA96BB #BBA796 #97BB96 #96A9BB
split-complementary
#BA96BB #A9BB96 #96BBA7
monochromatic
#815482 #A271A3 #BA96BB #D2BBD3 #EBE0EB

Accessibility & contrast

On white

2.57
#BA96BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#BA96BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA96BB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA96BB#FFFFFF#000000##000000
##BA96BB1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#949FBD
Deuteranopia (green-blind)
#9BA3BA
Tritanopia (blue-blind)
#BC99A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ba96bb;
/* rgb */ color: rgb(186, 150, 187);
/* oklch */ color: oklch(71.8% 0.067 325.4);
Tailwind
colors: {
  custom: {
    50: '#cfb5cf',
    500: '#ba96bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba96bb;
$custom-light: #cfb5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba96bb",
  "rgb": {
    "r": 186,
    "g": 150,
    "b": 187
  },
  "hsl": {
    "h": 298.378,
    "s": 21.387,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71804,
    "c": 0.06651,
    "h": 325.4
  },
  "luminance": 0.3584
}

Semantic roles & 50–950 ramp

primary
#BA96BB
secondary
#D1DCD0
accent
#A04648
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131113
muted
#828082

Preview Lab

Preview with #BA96BB

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

Preview Lab → · Contrast checker → · Palette generator →

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