#BA84EE#BA84EE

#BA84EE is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.8% C 0.158 H 306.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#BA84EE
RGBrgb(186, 132, 238)
HSLhsl(271, 76%, 73%)
HSVhsv(271, 45%, 93%)
CMYKcmyk(21.8%, 44.5%, 0%, 6.7%)
CIE-LABlab(64.25, 40.66, -45.75)
CIE-LCHlch(64.25, 61.21, 311.63°)
OKLaboklab(70.84% 0.0937 -0.1276)
OKLCHoklch(70.84% 0.158 306.3)
XYZxyz(43.9305, 33.1150, 84.9499)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84EE #B8EE84
analogous
#8584EE #BA84EE #EE84ED
triadic
#BA84EE #EEBA84 #84EEBA
tetradic
#BA84EE #EE8584 #B8EE84 #84EDEE
square
#BA84EE #EE8584 #B8EE84 #84EDEE
split-complementary
#BA84EE #EDEE84 #84EE85
monochromatic
#7E1EDA #9C4EE7 #BA84EE #D8BAF5 #F0E4FB

Accessibility & contrast

On white

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

On black

7.62
#BA84EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84EE
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84EE#FFFFFF#000000##000000
##BA84EE1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF2
Deuteranopia (green-blind)
#779CEB
Tritanopia (blue-blind)
#B295AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba84ee;
/* rgb */ color: rgb(186, 132, 238);
/* oklch */ color: oklch(70.8% 0.158 306.3);
Tailwind
colors: {
  custom: {
    50: '#d1a9f4',
    500: '#ba84ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba84ee;
$custom-light: #d1a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84ee",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 238
  },
  "hsl": {
    "h": 270.566,
    "s": 75.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70843,
    "c": 0.15831,
    "h": 306.3
  },
  "luminance": 0.33115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA84EE

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

Preview Lab → · Contrast checker → · Palette generator →

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