#BA84CC#BA84CC

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

Color values

HEX#BA84CC
RGBrgb(186, 132, 204)
HSLhsl(285, 41%, 66%)
HSVhsv(285, 35%, 80%)
CMYKcmyk(8.8%, 35.3%, 0%, 20%)
CIE-LABlab(62.76, 33.32, -29.15)
CIE-LCHlch(62.76, 44.27, 318.81°)
OKLaboklab(69.23% 0.087 -0.0799)
OKLCHoklch(69.23% 0.118 317.4)
XYZxyz(39.3985, 31.3022, 61.0815)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84CC #96CC84
analogous
#9684CC #BA84CC #CC84BA
triadic
#BA84CC #CCBA84 #84CCBA
tetradic
#BA84CC #CC9684 #96CC84 #84BACC
square
#BA84CC #CC9684 #96CC84 #84BACC
split-complementary
#BA84CC #BACC84 #84CC96
monochromatic
#813F97 #A259BA #BA84CC #D2AFDE #EBDBF0

Accessibility & contrast

On white

2.89
#BA84CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#BA84CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84CC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84CC#FFFFFF#000000##000000
##BA84CC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CF
Deuteranopia (green-blind)
#879ACA
Tritanopia (blue-blind)
#BA8D9F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ba84cc;
/* rgb */ color: rgb(186, 132, 204);
/* oklch */ color: oklch(69.2% 0.118 317.4);
Tailwind
colors: {
  custom: {
    50: '#cfa8db',
    500: '#ba84cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba84cc;
$custom-light: #cfa8db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84cc",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 204
  },
  "hsl": {
    "h": 285,
    "s": 41.379,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6923,
    "c": 0.11815,
    "h": 317.4
  },
  "luminance": 0.31301
}

Semantic roles & 50–950 ramp

primary
#BA84CC
secondary
#D0E2CA
accent
#B43152
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA84CC

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

Preview Lab → · Contrast checker → · Palette generator →

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