#BA88BF#BA88BF

#BA88BF is a light, moderate purple. Relative luminance 0.318; OKLCH L 69.4% C 0.097 H 323.5°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#BA88BF
RGBrgb(186, 136, 191)
HSLhsl(295, 30%, 64%)
HSVhsv(295, 29%, 75%)
CMYKcmyk(2.6%, 28.8%, 0%, 25.1%)
CIE-LABlab(63.19, 28.50, -21.19)
CIE-LCHlch(63.19, 35.51, 323.37°)
OKLaboklab(69.39% 0.0775 -0.0574)
OKLCHoklch(69.39% 0.097 323.5)
XYZxyz(38.4568, 31.8101, 53.3943)
Luminance0.3181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA88BF #8DBF88
analogous
#9F88BF #BA88BF #BF88A9
triadic
#BA88BF #BFBA88 #88BFBA
tetradic
#BA88BF #BF9F88 #8DBF88 #88A9BF
square
#BA88BF #BF9F88 #8DBF88 #88A9BF
split-complementary
#BA88BF #A9BF88 #88BF9F
monochromatic
#7F4885 #A360AA #BA88BF #D1B0D4 #E8D8EA

Accessibility & contrast

On white

2.85
#BA88BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#BA88BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA88BF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA88BF#FFFFFF#000000##000000
##BA88BF1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8395C1
Deuteranopia (green-blind)
#8F9BBD
Tritanopia (blue-blind)
#BC8D9C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba88bf;
/* rgb */ color: rgb(186, 136, 191);
/* oklch */ color: oklch(69.4% 0.097 323.5);
Tailwind
colors: {
  custom: {
    50: '#cfabd2',
    500: '#ba88bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba88bf;
$custom-light: #cfabd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba88bf",
  "rgb": {
    "r": 186,
    "g": 136,
    "b": 191
  },
  "hsl": {
    "h": 294.545,
    "s": 30.055,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69387,
    "c": 0.0965,
    "h": 323.5
  },
  "luminance": 0.31809
}

Semantic roles & 50–950 ramp

primary
#BA88BF
secondary
#CADBC8
accent
#A93D47
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141014
muted
#827F82

Preview Lab

Preview with #BA88BF

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

Preview Lab → · Contrast checker → · Palette generator →

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