#BA88BB#BA88BB

#BA88BB is a light, moderate purple. Relative luminance 0.316; OKLCH L 69.2% C 0.092 H 325.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#BA88BB
RGBrgb(186, 136, 187)
HSLhsl(299, 27%, 63%)
HSVhsv(299, 27%, 73%)
CMYKcmyk(0.5%, 27.3%, 0%, 26.7%)
CIE-LABlab(63.04, 27.72, -19.15)
CIE-LCHlch(63.04, 33.69, 325.36°)
OKLaboklab(69.23% 0.0764 -0.0518)
OKLCHoklch(69.23% 0.092 325.9)
XYZxyz(38.0226, 31.6364, 51.1076)
Luminance0.3164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA88BB #89BB88
analogous
#A088BB #BA88BB #BB88A2
triadic
#BA88BB #BBBA88 #88BBBA
tetradic
#BA88BB #BBA088 #89BB88 #88A2BB
square
#BA88BB #BBA088 #89BB88 #88A2BB
split-complementary
#BA88BB #A2BB88 #88BBA0
monochromatic
#7F4980 #A361A5 #BA88BB #D1AFD1 #E7D6E8

Accessibility & contrast

On white

2.87
#BA88BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#BA88BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA88BB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA88BB#FFFFFF#000000##000000
##BA88BB1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8495BD
Deuteranopia (green-blind)
#909BB9
Tritanopia (blue-blind)
#BD8C9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba88bb;
/* rgb */ color: rgb(186, 136, 187);
/* oklch */ color: oklch(69.2% 0.092 325.9);
Tailwind
colors: {
  custom: {
    50: '#cfabcf',
    500: '#ba88bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba88bb;
$custom-light: #cfabcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba88bb",
  "rgb": {
    "r": 186,
    "g": 136,
    "b": 187
  },
  "hsl": {
    "h": 298.824,
    "s": 27.273,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6923,
    "c": 0.09225,
    "h": 325.9
  },
  "luminance": 0.31635
}

Semantic roles & 50–950 ramp

primary
#BA88BB
secondary
#C7D8C6
accent
#A64042
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141013
muted
#827F82

Preview Lab

Preview with #BA88BB

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

Preview Lab → · Contrast checker → · Palette generator →

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