#BA84FF#BA84FF

#BA84FF is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.7% C 0.179 H 302.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#BA84FF
RGBrgb(186, 132, 255)
HSLhsl(266, 100%, 76%)
HSVhsv(266, 48%, 100%)
CMYKcmyk(27.1%, 48.2%, 0%, 0%)
CIE-LABlab(65.09, 44.58, -53.77)
CIE-LCHlch(65.09, 69.85, 309.67°)
OKLaboklab(71.74% 0.0958 -0.151)
OKLCHoklch(71.74% 0.179 302.4)
XYZxyz(46.5469, 34.1616, 98.7300)
Luminance0.3416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84FF #C9FF84
analogous
#848BFF #BA84FF #F784FF
triadic
#BA84FF #FFBA84 #84FFBA
tetradic
#BA84FF #FF848B #C9FF84 #84FFF7
square
#BA84FF #FF848B #C9FF84 #84FFF7
split-complementary
#BA84FF #FFF784 #8BFF84
monochromatic
#750AFF #9847FF #BA84FF #DCC1FF #EEE0FF

Accessibility & contrast

On white

2.68
#BA84FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#BA84FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84FF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84FF#FFFFFF#000000##000000
##BA84FF1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9DFF
Deuteranopia (green-blind)
#6C9EFC
Tritanopia (blue-blind)
#AD9AB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba84ff;
/* rgb */ color: rgb(186, 132, 255);
/* oklch */ color: oklch(71.7% 0.179 302.4);
Tailwind
colors: {
  custom: {
    50: '#d1a9ff',
    500: '#ba84ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba84ff;
$custom-light: #d1a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84ff",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 255
  },
  "hsl": {
    "h": 266.341,
    "s": 100,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71741,
    "c": 0.1788,
    "h": 302.4
  },
  "luminance": 0.34162
}

Semantic roles & 50–950 ramp

primary
#BA84FF
secondary
#E8F7D4
accent
#E60081
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BA84FF

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

Preview Lab → · Contrast checker → · Palette generator →

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