#BA96BC#BA96BC

#BA96BC is a light, moderate purple. Relative luminance 0.359; OKLCH L 71.8% C 0.068 H 324.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#BA96BC
RGBrgb(186, 150, 188)
HSLhsl(297, 22%, 66%)
HSVhsv(297, 20%, 74%)
CMYKcmyk(1.1%, 20.2%, 0%, 26.3%)
CIE-LABlab(66.43, 20.11, -14.58)
CIE-LCHlch(66.43, 24.84, 324.06°)
OKLaboklab(71.84% 0.0551 -0.0392)
OKLCHoklch(71.84% 0.068 324.6)
XYZxyz(40.2320, 35.8835, 52.3740)
Luminance0.3588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA96BC #98BC96
analogous
#A796BC #BA96BC #BC96AB
triadic
#BA96BC #BCBA96 #96BCBA
tetradic
#BA96BC #BCA796 #98BC96 #96ABBC
square
#BA96BC #BCA796 #98BC96 #96ABBC
split-complementary
#BA96BC #ABBC96 #96BCA7
monochromatic
#815484 #A171A4 #BA96BC #D3BBD4 #EBE1EC

Accessibility & contrast

On white

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

On black

8.18
#BA96BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA96BC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA96BC#FFFFFF#000000##000000
##BA96BC1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#939FBE
Deuteranopia (green-blind)
#9BA3BB
Tritanopia (blue-blind)
#BC99A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ba96bc;
/* rgb */ color: rgb(186, 150, 188);
/* oklch */ color: oklch(71.8% 0.068 324.6);
Tailwind
colors: {
  custom: {
    50: '#cfb5d0',
    500: '#ba96bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba96bc;
$custom-light: #cfb5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba96bc",
  "rgb": {
    "r": 186,
    "g": 150,
    "b": 188
  },
  "hsl": {
    "h": 296.842,
    "s": 22.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.7184,
    "c": 0.06759,
    "h": 324.6
  },
  "luminance": 0.35883
}

Semantic roles & 50–950 ramp

primary
#BA96BC
secondary
#D1DDD1
accent
#A1454A
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #BA96BC

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

Preview Lab → · Contrast checker → · Palette generator →

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