#BA98BC#BA98BC

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

Color values

HEX#BA98BC
RGBrgb(186, 152, 188)
HSLhsl(297, 21%, 67%)
HSVhsv(297, 19%, 74%)
CMYKcmyk(1.1%, 19.1%, 0%, 26.3%)
CIE-LABlab(66.92, 19.00, -13.84)
CIE-LCHlch(66.92, 23.51, 323.92°)
OKLaboklab(72.22% 0.052 -0.0372)
OKLCHoklch(72.22% 0.064 324.4)
XYZxyz(40.5539, 36.5272, 52.4813)
Luminance0.3653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA98BC #9ABC98
analogous
#A898BC #BA98BC #BC98AC
triadic
#BA98BC #BCBA98 #98BCBA
tetradic
#BA98BC #BCA898 #9ABC98 #98ACBC
square
#BA98BC #BCA898 #9ABC98 #98ACBC
split-complementary
#BA98BC #ACBC98 #98BCA8
monochromatic
#815684 #A173A4 #BA98BC #D3BDD4 #ECE2EC

Accessibility & contrast

On white

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

On black

8.31
#BA98BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA98BC
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA98BC#FFFFFF#000000##000000
##BA98BC1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A0BE
Deuteranopia (green-blind)
#9DA4BB
Tritanopia (blue-blind)
#BC9BA4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba98bc;
/* rgb */ color: rgb(186, 152, 188);
/* oklch */ color: oklch(72.2% 0.064 324.4);
Tailwind
colors: {
  custom: {
    50: '#cfb6d0',
    500: '#ba98bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba98bc;
$custom-light: #cfb6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba98bc",
  "rgb": {
    "r": 186,
    "g": 152,
    "b": 188
  },
  "hsl": {
    "h": 296.667,
    "s": 21.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72218,
    "c": 0.06392,
    "h": 324.4
  },
  "luminance": 0.36526
}

Semantic roles & 50–950 ramp

primary
#BA98BC
secondary
#D3DED2
accent
#A0464B
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #BA98BC

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

Preview Lab → · Contrast checker → · Palette generator →

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