#BA98BB#BA98BB

#BA98BB is a light, moderate purple. Relative luminance 0.365; OKLCH L 72.2% C 0.063 H 325.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#BA98BB
RGBrgb(186, 152, 187)
HSLhsl(298, 20%, 66%)
HSVhsv(298, 19%, 73%)
CMYKcmyk(0.5%, 18.7%, 0%, 26.7%)
CIE-LABlab(66.89, 18.81, -13.34)
CIE-LCHlch(66.89, 23.05, 324.66°)
OKLaboklab(72.18% 0.0517 -0.0358)
OKLCHoklch(72.18% 0.063 325.3)
XYZxyz(40.4465, 36.4843, 51.9156)
Luminance0.3648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA98BB #99BB98
analogous
#A998BB #BA98BB #BB98AB
triadic
#BA98BB #BBBA98 #98BBBA
tetradic
#BA98BB #BBA998 #99BB98 #98ABBB
square
#BA98BB #BBA998 #99BB98 #98ABBB
split-complementary
#BA98BB #ABBB98 #98BBA9
monochromatic
#815682 #A173A3 #BA98BB #D3BDD3 #EBE2EC

Accessibility & contrast

On white

2.53
#BA98BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#BA98BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA98BB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA98BB#FFFFFF#000000##000000
##BA98BB1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A0BC
Deuteranopia (green-blind)
#9DA4BA
Tritanopia (blue-blind)
#BC9BA4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba98bb;
/* rgb */ color: rgb(186, 152, 187);
/* oklch */ color: oklch(72.2% 0.063 325.3);
Tailwind
colors: {
  custom: {
    50: '#cfb6cf',
    500: '#ba98bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba98bb;
$custom-light: #cfb6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba98bb",
  "rgb": {
    "r": 186,
    "g": 152,
    "b": 187
  },
  "hsl": {
    "h": 298.286,
    "s": 20.468,
    "l": 66.471
  },
  "oklch": {
    "l": 0.72182,
    "c": 0.06284,
    "h": 325.3
  },
  "luminance": 0.36483
}

Semantic roles & 50–950 ramp

primary
#BA98BB
secondary
#D2DDD2
accent
#9F4749
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131113
muted
#828082

Preview Lab

Preview with #BA98BB

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

Preview Lab → · Contrast checker → · Palette generator →

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