#BA84EF#BA84EF

#BA84EF is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.9% C 0.160 H 306.0°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#BA84EF
RGBrgb(186, 132, 239)
HSLhsl(270, 77%, 73%)
HSVhsv(270, 45%, 94%)
CMYKcmyk(22.2%, 44.8%, 0%, 6.3%)
CIE-LABlab(64.30, 40.89, -46.23)
CIE-LCHlch(64.30, 61.72, 311.49°)
OKLaboklab(70.89% 0.0938 -0.129)
OKLCHoklch(70.89% 0.16 306)
XYZxyz(44.0778, 33.1739, 85.7258)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84EF #B9EF84
analogous
#8484EF #BA84EF #EF84EF
triadic
#BA84EF #EFBA84 #84EFBA
tetradic
#BA84EF #EF8484 #B9EF84 #84EFEF
square
#BA84EF #EF8484 #B9EF84 #84EFEF
split-complementary
#BA84EF #EFEF84 #84EF84
monochromatic
#7D1DDC #9C4EE8 #BA84EF #D8BAF6 #F0E4FB

Accessibility & contrast

On white

2.75
#BA84EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#BA84EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84EF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84EF#FFFFFF#000000##000000
##BA84EF1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#B296AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba84ef;
/* rgb */ color: rgb(186, 132, 239);
/* oklch */ color: oklch(70.9% 0.160 306.0);
Tailwind
colors: {
  custom: {
    50: '#d1a9f4',
    500: '#ba84ef',
    950: '#000000',
  },
}
SCSS
$custom: #ba84ef;
$custom-light: #d1a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84ef",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 270.28,
    "s": 76.978,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70894,
    "c": 0.15952,
    "h": 306
  },
  "luminance": 0.33174
}

Semantic roles & 50–950 ramp

primary
#BA84EF
secondary
#E5F3D8
accent
#D90C72
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BA84EF

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

Preview Lab → · Contrast checker → · Palette generator →

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