#BA84EA#BA84EA

#BA84EA is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.6% C 0.153 H 307.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#BA84EA
RGBrgb(186, 132, 234)
HSLhsl(272, 71%, 72%)
HSVhsv(272, 44%, 92%)
CMYKcmyk(20.5%, 43.6%, 0%, 8.2%)
CIE-LABlab(64.07, 39.76, -43.84)
CIE-LCHlch(64.07, 59.18, 312.21°)
OKLaboklab(70.64% 0.093 -0.1221)
OKLCHoklch(70.64% 0.153 307.3)
XYZxyz(43.3493, 32.8826, 81.8892)
Luminance0.3288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84EA #B4EA84
analogous
#8784EA #BA84EA #EA84E7
triadic
#BA84EA #EABA84 #84EABA
tetradic
#BA84EA #EA8784 #B4EA84 #84E7EA
square
#BA84EA #EA8784 #B4EA84 #84E7EA
split-complementary
#BA84EA #E7EA84 #84EA87
monochromatic
#7F24D0 #9D50E1 #BA84EA #D7B8F3 #F0E5FB

Accessibility & contrast

On white

2.77
#BA84EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#BA84EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84EA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84EA#FFFFFF#000000##000000
##BA84EA1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#B394AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba84ea;
/* rgb */ color: rgb(186, 132, 234);
/* oklch */ color: oklch(70.6% 0.153 307.3);
Tailwind
colors: {
  custom: {
    50: '#d0a9f1',
    500: '#ba84ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba84ea;
$custom-light: #d0a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84ea",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 271.765,
    "s": 70.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7064,
    "c": 0.15349,
    "h": 307.3
  },
  "luminance": 0.32882
}

Semantic roles & 50–950 ramp

primary
#BA84EA
secondary
#E4F2D8
accent
#D3136D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BA84EA

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

Preview Lab → · Contrast checker → · Palette generator →

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