#BA97BB#BA97BB

#BA97BB is a light, moderate purple. Relative luminance 0.362; OKLCH L 72.0% C 0.065 H 325.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#BA97BB
RGBrgb(186, 151, 187)
HSLhsl(298, 21%, 66%)
HSVhsv(298, 19%, 73%)
CMYKcmyk(0.5%, 19.3%, 0%, 26.7%)
CIE-LABlab(66.64, 19.36, -13.70)
CIE-LCHlch(66.64, 23.72, 324.71°)
OKLaboklab(71.99% 0.0532 -0.0368)
OKLCHoklch(71.99% 0.065 325.3)
XYZxyz(40.2849, 36.1610, 51.8617)
Luminance0.3616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA97BB #98BB97
analogous
#A897BB #BA97BB #BB97AA
triadic
#BA97BB #BBBA97 #97BBBA
tetradic
#BA97BB #BBA897 #98BB97 #97AABB
square
#BA97BB #BBA897 #98BB97 #97AABB
split-complementary
#BA97BB #AABB97 #97BBA8
monochromatic
#815582 #A172A3 #BA97BB #D3BCD3 #EBE1EB

Accessibility & contrast

On white

2.55
#BA97BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#BA97BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA97BB
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA97BB#FFFFFF#000000##000000
##BA97BB1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#959FBD
Deuteranopia (green-blind)
#9CA4BA
Tritanopia (blue-blind)
#BC9AA3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ba97bb;
/* rgb */ color: rgb(186, 151, 187);
/* oklch */ color: oklch(72.0% 0.065 325.3);
Tailwind
colors: {
  custom: {
    50: '#cfb5cf',
    500: '#ba97bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba97bb;
$custom-light: #cfb5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba97bb",
  "rgb": {
    "r": 186,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 298.333,
    "s": 20.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71993,
    "c": 0.06467,
    "h": 325.3
  },
  "luminance": 0.3616
}

Semantic roles & 50–950 ramp

primary
#BA97BB
secondary
#D1DDD1
accent
#9F4649
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131113
muted
#828082

Preview Lab

Preview with #BA97BB

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

Preview Lab → · Contrast checker → · Palette generator →

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