#BA84CB#BA84CB

#BA84CB is a light, moderate purple. Relative luminance 0.313; OKLCH L 69.2% C 0.117 H 317.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#BA84CB
RGBrgb(186, 132, 203)
HSLhsl(286, 41%, 66%)
HSVhsv(286, 35%, 80%)
CMYKcmyk(8.4%, 35%, 0%, 20.4%)
CIE-LABlab(62.72, 33.11, -28.65)
CIE-LCHlch(62.72, 43.79, 319.13°)
OKLaboklab(69.19% 0.0868 -0.0785)
OKLCHoklch(69.19% 0.117 317.9)
XYZxyz(39.2789, 31.2544, 60.4519)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84CB #95CB84
analogous
#9684CB #BA84CB #CB84B8
triadic
#BA84CB #CBBA84 #84CBBA
tetradic
#BA84CB #CB9684 #95CB84 #84B8CB
square
#BA84CB #CB9684 #95CB84 #84B8CB
split-complementary
#BA84CB #B8CB84 #84CB96
monochromatic
#813F95 #A259B9 #BA84CB #D2AFDD #EADAEF

Accessibility & contrast

On white

2.90
#BA84CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#BA84CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84CB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84CB#FFFFFF#000000##000000
##BA84CB1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CE
Deuteranopia (green-blind)
#879AC9
Tritanopia (blue-blind)
#BA8D9E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ba84cb;
/* rgb */ color: rgb(186, 132, 203);
/* oklch */ color: oklch(69.2% 0.117 317.9);
Tailwind
colors: {
  custom: {
    50: '#cfa8db',
    500: '#ba84cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba84cb;
$custom-light: #cfa8db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84cb",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 203
  },
  "hsl": {
    "h": 285.634,
    "s": 40.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69186,
    "c": 0.11702,
    "h": 317.9
  },
  "luminance": 0.31253
}

Semantic roles & 50–950 ramp

primary
#BA84CB
secondary
#CFE1CA
accent
#B43251
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA84CB

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

Preview Lab → · Contrast checker → · Palette generator →

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