#BA84DB#BA84DB

#BA84DB is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.9% C 0.136 H 311.8°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#BA84DB
RGBrgb(186, 132, 219)
HSLhsl(277, 55%, 69%)
HSVhsv(277, 40%, 86%)
CMYKcmyk(15.1%, 39.7%, 0%, 14.1%)
CIE-LABlab(63.39, 36.47, -36.57)
CIE-LCHlch(63.39, 51.64, 314.92°)
OKLaboklab(69.91% 0.0903 -0.1011)
OKLCHoklch(69.91% 0.136 311.8)
XYZxyz(41.2849, 32.0568, 71.0168)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84DB #A5DB84
analogous
#8F84DB #BA84DB #DB84D1
triadic
#BA84DB #DBBA84 #84DBBA
tetradic
#BA84DB #DB8F84 #A5DB84 #84D1DB
square
#BA84DB #DB8F84 #A5DB84 #84D1DB
split-complementary
#BA84DB #D1DB84 #84DB8F
monochromatic
#8134B1 #9F55CD #BA84DB #D5B3E9 #EFE3F7

Accessibility & contrast

On white

2.83
#BA84DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#BA84DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84DB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84DB#FFFFFF#000000##000000
##BA84DB1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DE
Deuteranopia (green-blind)
#809BD9
Tritanopia (blue-blind)
#B790A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba84db;
/* rgb */ color: rgb(186, 132, 219);
/* oklch */ color: oklch(69.9% 0.136 311.8);
Tailwind
colors: {
  custom: {
    50: '#d0a8e6',
    500: '#ba84db',
    950: '#000000',
  },
}
SCSS
$custom: #ba84db;
$custom-light: #d0a8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84db",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 219
  },
  "hsl": {
    "h": 277.241,
    "s": 54.717,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69911,
    "c": 0.1356,
    "h": 311.8
  },
  "luminance": 0.32056
}

Semantic roles & 50–950 ramp

primary
#BA84DB
secondary
#DAEAD1
accent
#C22360
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA84DB

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

Preview Lab → · Contrast checker → · Palette generator →

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