#BA84BB#BA84BB

#BA84BB is a light, moderate purple. Relative luminance 0.305; OKLCH L 68.5% C 0.100 H 326.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#BA84BB
RGBrgb(186, 132, 187)
HSLhsl(299, 29%, 63%)
HSVhsv(299, 29%, 73%)
CMYKcmyk(0.5%, 29.4%, 0%, 26.7%)
CIE-LABlab(62.11, 29.94, -20.57)
CIE-LCHlch(62.11, 36.33, 325.51°)
OKLaboklab(68.52% 0.0825 -0.0557)
OKLCHoklch(68.52% 0.1 326)
XYZxyz(37.4697, 30.5307, 50.9233)
Luminance0.3053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84BB #85BB84
analogous
#9E84BB #BA84BB #BB84A1
triadic
#BA84BB #BBBA84 #84BBBA
tetradic
#BA84BB #BB9E84 #85BB84 #84A1BB
square
#BA84BB #BB9E84 #85BB84 #84A1BB
split-complementary
#BA84BB #A1BB84 #84BB9E
monochromatic
#7E467F #A45DA5 #BA84BB #D0ABD1 #E6D3E7

Accessibility & contrast

On white

2.96
#BA84BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#BA84BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84BB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84BB#FFFFFF#000000##000000
##BA84BB1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8092BD
Deuteranopia (green-blind)
#8D98B9
Tritanopia (blue-blind)
#BD8998
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba84bb;
/* rgb */ color: rgb(186, 132, 187);
/* oklch */ color: oklch(68.5% 0.100 326.0);
Tailwind
colors: {
  custom: {
    50: '#cfa8cf',
    500: '#ba84bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba84bb;
$custom-light: #cfa8cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84bb",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 187
  },
  "hsl": {
    "h": 298.909,
    "s": 28.796,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68519,
    "c": 0.09957,
    "h": 326
  },
  "luminance": 0.30529
}

Semantic roles & 50–950 ramp

primary
#BA84BB
secondary
#C4D7C3
accent
#A73E40
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141013
muted
#827F82

Preview Lab

Preview with #BA84BB

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

Preview Lab → · Contrast checker → · Palette generator →

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