#BA8FBB#BA8FBB

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

Color values

HEX#BA8FBB
RGBrgb(186, 143, 187)
HSLhsl(299, 24%, 65%)
HSVhsv(299, 24%, 73%)
CMYKcmyk(0.5%, 23.5%, 0%, 26.7%)
CIE-LABlab(64.70, 23.82, -16.63)
CIE-LCHlch(64.70, 29.05, 325.08°)
OKLaboklab(70.5% 0.0656 -0.0448)
OKLCHoklch(70.5% 0.079 325.6)
XYZxyz(39.0408, 33.6729, 51.4470)
Luminance0.3367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8FBB #90BB8F
analogous
#A48FBB #BA8FBB #BB8FA6
triadic
#BA8FBB #BBBA8F #8FBBBA
tetradic
#BA8FBB #BBA48F #90BB8F #8FA6BB
square
#BA8FBB #BBA48F #90BB8F #8FA6BB
split-complementary
#BA8FBB #A6BB8F #8FBBA4
monochromatic
#804E81 #A369A4 #BA8FBB #D1B5D2 #E9DBE9

Accessibility & contrast

On white

2.72
#BA8FBB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#BA8FBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8FBB
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8FBB#FFFFFF#000000##000000
##BA8FBB1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9ABD
Deuteranopia (green-blind)
#969FB9
Tritanopia (blue-blind)
#BD939E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba8fbb;
/* rgb */ color: rgb(186, 143, 187);
/* oklch */ color: oklch(70.5% 0.079 325.6);
Tailwind
colors: {
  custom: {
    50: '#cfb0cf',
    500: '#ba8fbb',
    950: '#000000',
  },
}
SCSS
$custom: #ba8fbb;
$custom-light: #cfb0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8fbb",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 187
  },
  "hsl": {
    "h": 298.636,
    "s": 24.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.705,
    "c": 0.0794,
    "h": 325.6
  },
  "luminance": 0.33672
}

Semantic roles & 50–950 ramp

primary
#BA8FBB
secondary
#CCDACB
accent
#A34345
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141013
muted
#827F82

Preview Lab

Preview with #BA8FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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