#BA88BC#BA88BC

#BA88BC is a light, moderate purple. Relative luminance 0.317; OKLCH L 69.3% C 0.093 H 325.3°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#BA88BC
RGBrgb(186, 136, 188)
HSLhsl(298, 28%, 64%)
HSVhsv(298, 28%, 74%)
CMYKcmyk(1.1%, 27.7%, 0%, 26.3%)
CIE-LABlab(63.08, 27.91, -19.66)
CIE-LCHlch(63.08, 34.14, 324.84°)
OKLaboklab(69.27% 0.0767 -0.0532)
OKLCHoklch(69.27% 0.093 325.3)
XYZxyz(38.1300, 31.6794, 51.6734)
Luminance0.3168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA88BC #8ABC88
analogous
#A088BC #BA88BC #BC88A4
triadic
#BA88BC #BCBA88 #88BCBA
tetradic
#BA88BC #BCA088 #8ABC88 #88A4BC
square
#BA88BC #BCA088 #8ABC88 #88A4BC
split-complementary
#BA88BC #A4BC88 #88BCA0
monochromatic
#7F4981 #A361A6 #BA88BC #D1AFD2 #E7D6E8

Accessibility & contrast

On white

2.86
#BA88BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#BA88BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA88BC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA88BC#FFFFFF#000000##000000
##BA88BC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8495BE
Deuteranopia (green-blind)
#909BBA
Tritanopia (blue-blind)
#BD8D9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba88bc;
/* rgb */ color: rgb(186, 136, 188);
/* oklch */ color: oklch(69.3% 0.093 325.3);
Tailwind
colors: {
  custom: {
    50: '#cfabd0',
    500: '#ba88bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba88bc;
$custom-light: #cfabd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba88bc",
  "rgb": {
    "r": 186,
    "g": 136,
    "b": 188
  },
  "hsl": {
    "h": 297.692,
    "s": 27.957,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69269,
    "c": 0.0933,
    "h": 325.3
  },
  "luminance": 0.31678
}

Semantic roles & 50–950 ramp

primary
#BA88BC
secondary
#C7D9C7
accent
#A73F43
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141014
muted
#827F82

Preview Lab

Preview with #BA88BC

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

Preview Lab → · Contrast checker → · Palette generator →

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