#BA9FBB#BA9FBB

#BA9FBB is a light, muted purple. Relative luminance 0.388; OKLCH L 73.5% C 0.050 H 325.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#BA9FBB
RGBrgb(186, 159, 187)
HSLhsl(298, 17%, 68%)
HSVhsv(298, 15%, 73%)
CMYKcmyk(0.5%, 15%, 0%, 26.7%)
CIE-LABlab(68.62, 14.92, -10.73)
CIE-LCHlch(68.62, 18.38, 324.26°)
OKLaboklab(73.52% 0.0409 -0.0287)
OKLCHoklch(73.52% 0.05 325)
XYZxyz(41.6163, 38.8239, 52.3055)
Luminance0.3882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9FBB #A0BB9F
analogous
#AC9FBB #BA9FBB #BB9FAE
triadic
#BA9FBB #BBBA9F #9FBBBA
tetradic
#BA9FBB #BBAC9F #A0BB9F #9FAEBB
square
#BA9FBB #BBAC9F #A0BB9F #9FAEBB
split-complementary
#BA9FBB #AEBB9F #9FBBAC
monochromatic
#825D83 #A07BA2 #BA9FBB #D4C3D4 #EDE7EE

Accessibility & contrast

On white

2.40
#BA9FBB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#BA9FBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9FBB
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9FBB#FFFFFF#000000##000000
##BA9FBB1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DA5BC
Deuteranopia (green-blind)
#A3A9BA
Tritanopia (blue-blind)
#BCA1A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ba9fbb;
/* rgb */ color: rgb(186, 159, 187);
/* oklch */ color: oklch(73.5% 0.050 325.0);
Tailwind
colors: {
  custom: {
    50: '#cfbbcf',
    500: '#ba9fbb',
    950: '#000000',
  },
}
SCSS
$custom: #ba9fbb;
$custom-light: #cfbbcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9fbb",
  "rgb": {
    "r": 186,
    "g": 159,
    "b": 187
  },
  "hsl": {
    "h": 297.857,
    "s": 17.073,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73523,
    "c": 0.04998,
    "h": 325
  },
  "luminance": 0.38823
}

Semantic roles & 50–950 ramp

primary
#BA9FBB
secondary
#D7DFD7
accent
#9B4A4D
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131113
muted
#828082

Preview Lab

Preview with #BA9FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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