#BA84FE#BA84FE

#BA84FE is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.7% C 0.178 H 302.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#BA84FE
RGBrgb(186, 132, 254)
HSLhsl(267, 98%, 76%)
HSVhsv(267, 48%, 100%)
CMYKcmyk(26.8%, 48%, 0%, 0.4%)
CIE-LABlab(65.04, 44.35, -53.30)
CIE-LCHlch(65.04, 69.34, 309.76°)
OKLaboklab(71.69% 0.0957 -0.1496)
OKLCHoklch(71.69% 0.178 302.6)
XYZxyz(46.3864, 34.0974, 97.8844)
Luminance0.3410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84FE #C8FE84
analogous
#848BFE #BA84FE #F784FE
triadic
#BA84FE #FEBA84 #84FEBA
tetradic
#BA84FE #FE848B #C8FE84 #84FEF7
square
#BA84FE #FE848B #C8FE84 #84FEF7
split-complementary
#BA84FE #FEF784 #8BFE84
monochromatic
#760BFD #9847FE #BA84FE #DCC1FE #EEE1FF

Accessibility & contrast

On white

2.69
#BA84FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#BA84FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84FE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84FE#FFFFFF#000000##000000
##BA84FE1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#6D9EFB
Tritanopia (blue-blind)
#AE9AB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba84fe;
/* rgb */ color: rgb(186, 132, 254);
/* oklch */ color: oklch(71.7% 0.178 302.6);
Tailwind
colors: {
  custom: {
    50: '#d1a9ff',
    500: '#ba84fe',
    950: '#000000',
  },
}
SCSS
$custom: #ba84fe;
$custom-light: #d1a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84fe",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 254
  },
  "hsl": {
    "h": 266.557,
    "s": 98.387,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71687,
    "c": 0.1776,
    "h": 302.6
  },
  "luminance": 0.34097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA84FE

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

Preview Lab → · Contrast checker → · Palette generator →

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