#BA8FBC#BA8FBC

#BA8FBC is a light, moderate purple. Relative luminance 0.337; OKLCH L 70.5% C 0.080 H 324.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#BA8FBC
RGBrgb(186, 143, 188)
HSLhsl(297, 25%, 65%)
HSVhsv(297, 24%, 74%)
CMYKcmyk(1.1%, 23.9%, 0%, 26.3%)
CIE-LABlab(64.74, 24.01, -17.14)
CIE-LCHlch(64.74, 29.50, 324.48°)
OKLaboklab(70.54% 0.0659 -0.0462)
OKLCHoklch(70.54% 0.08 324.9)
XYZxyz(39.1482, 33.7159, 52.0128)
Luminance0.3372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8FBC #91BC8F
analogous
#A38FBC #BA8FBC #BC8FA8
triadic
#BA8FBC #BCBA8F #8FBCBA
tetradic
#BA8FBC #BCA38F #91BC8F #8FA8BC
square
#BA8FBC #BCA38F #91BC8F #8FA8BC
split-complementary
#BA8FBC #A8BC8F #8FBCA3
monochromatic
#804E83 #A269A5 #BA8FBC #D2B5D3 #E9DCEA

Accessibility & contrast

On white

2.71
#BA8FBC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#BA8FBC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8FBC
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8FBC#FFFFFF#000000##000000
##BA8FBC1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9ABE
Deuteranopia (green-blind)
#959FBA
Tritanopia (blue-blind)
#BC939F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba8fbc;
/* rgb */ color: rgb(186, 143, 188);
/* oklch */ color: oklch(70.5% 0.080 324.9);
Tailwind
colors: {
  custom: {
    50: '#cfb0d0',
    500: '#ba8fbc',
    950: '#000000',
  },
}
SCSS
$custom: #ba8fbc;
$custom-light: #cfb0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8fbc",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 188
  },
  "hsl": {
    "h": 297.333,
    "s": 25.14,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70538,
    "c": 0.08046,
    "h": 324.9
  },
  "luminance": 0.33715
}

Semantic roles & 50–950 ramp

primary
#BA8FBC
secondary
#CCDBCC
accent
#A44246
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141014
muted
#827F82

Preview Lab

Preview with #BA8FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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