#BA96BF#BA96BF

#BA96BF is a light, moderate purple. Relative luminance 0.360; OKLCH L 72.0% C 0.071 H 322.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#BA96BF
RGBrgb(186, 150, 191)
HSLhsl(293, 24%, 67%)
HSVhsv(293, 21%, 75%)
CMYKcmyk(2.6%, 21.5%, 0%, 25.1%)
CIE-LABlab(66.53, 20.70, -16.11)
CIE-LCHlch(66.53, 26.23, 322.10°)
OKLaboklab(71.95% 0.0561 -0.0434)
OKLCHoklch(71.95% 0.071 322.3)
XYZxyz(40.5588, 36.0142, 54.0950)
Luminance0.3601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA96BF #9BBF96
analogous
#A696BF #BA96BF #BF96B0
triadic
#BA96BF #BFBA96 #96BFBA
tetradic
#BA96BF #BFA696 #9BBF96 #96B0BF
square
#BA96BF #BFA696 #9BBF96 #96B0BF
split-complementary
#BA96BF #B0BF96 #96BFA6
monochromatic
#815388 #A170A8 #BA96BF #D3BCD6 #ECE2ED

Accessibility & contrast

On white

2.56
#BA96BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#BA96BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA96BF
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA96BF#FFFFFF#000000##000000
##BA96BF1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#929FC1
Deuteranopia (green-blind)
#9AA3BE
Tritanopia (blue-blind)
#BC9AA4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ba96bf;
/* rgb */ color: rgb(186, 150, 191);
/* oklch */ color: oklch(72.0% 0.071 322.3);
Tailwind
colors: {
  custom: {
    50: '#cfb5d2',
    500: '#ba96bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba96bf;
$custom-light: #cfb5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba96bf",
  "rgb": {
    "r": 186,
    "g": 150,
    "b": 191
  },
  "hsl": {
    "h": 292.683,
    "s": 24.26,
    "l": 66.863
  },
  "oklch": {
    "l": 0.7195,
    "c": 0.0709,
    "h": 322.3
  },
  "luminance": 0.36013
}

Semantic roles & 50–950 ramp

primary
#BA96BF
secondary
#D3DFD2
accent
#A3434E
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#141114
muted
#828082

Preview Lab

Preview with #BA96BF

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

Preview Lab → · Contrast checker → · Palette generator →

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