#BA97BF#BA97BF

#BA97BF is a light, moderate purple. Relative luminance 0.363; OKLCH L 72.1% C 0.069 H 322.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#BA97BF
RGBrgb(186, 151, 191)
HSLhsl(293, 24%, 67%)
HSVhsv(293, 21%, 75%)
CMYKcmyk(2.6%, 20.9%, 0%, 25.1%)
CIE-LABlab(66.77, 20.14, -15.74)
CIE-LCHlch(66.77, 25.56, 321.99°)
OKLaboklab(72.14% 0.0545 -0.0424)
OKLCHoklch(72.14% 0.069 322.1)
XYZxyz(40.7191, 36.3347, 54.1484)
Luminance0.3633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA97BF #9CBF97
analogous
#A697BF #BA97BF #BF97B0
triadic
#BA97BF #BFBA97 #97BFBA
tetradic
#BA97BF #BFA697 #9CBF97 #97B0BF
square
#BA97BF #BFA697 #9CBF97 #97B0BF
split-complementary
#BA97BF #B0BF97 #97BFA6
monochromatic
#815488 #A171A8 #BA97BF #D3BDD6 #ECE3EE

Accessibility & contrast

On white

2.54
#BA97BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#BA97BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA97BF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA97BF#FFFFFF#000000##000000
##BA97BF1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A0C1
Deuteranopia (green-blind)
#9BA4BE
Tritanopia (blue-blind)
#BB9BA5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ba97bf;
/* rgb */ color: rgb(186, 151, 191);
/* oklch */ color: oklch(72.1% 0.069 322.1);
Tailwind
colors: {
  custom: {
    50: '#cfb5d2',
    500: '#ba97bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba97bf;
$custom-light: #cfb5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba97bf",
  "rgb": {
    "r": 186,
    "g": 151,
    "b": 191
  },
  "hsl": {
    "h": 292.5,
    "s": 23.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72138,
    "c": 0.06907,
    "h": 322.1
  },
  "luminance": 0.36334
}

Semantic roles & 50–950 ramp

primary
#BA97BF
secondary
#D4DFD3
accent
#A2434F
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #BA97BF

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

Preview Lab → · Contrast checker → · Palette generator →

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