#BA84FA#BA84FA

#BA84FA is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.5% C 0.173 H 303.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#BA84FA
RGBrgb(186, 132, 250)
HSLhsl(267, 92%, 75%)
HSVhsv(267, 47%, 98%)
CMYKcmyk(25.6%, 47.2%, 0%, 2%)
CIE-LABlab(64.84, 43.42, -51.43)
CIE-LCHlch(64.84, 67.31, 310.17°)
OKLaboklab(71.47% 0.0952 -0.1442)
OKLCHoklch(71.47% 0.173 303.5)
XYZxyz(45.7525, 33.8438, 94.5461)
Luminance0.3384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84FA #C4FA84
analogous
#8489FA #BA84FA #F584FA
triadic
#BA84FA #FABA84 #84FABA
tetradic
#BA84FA #FA8489 #C4FA84 #84FAF5
square
#BA84FA #FA8489 #C4FA84 #84FAF5
split-complementary
#BA84FA #FAF584 #89FA84
monochromatic
#780EF5 #9949F8 #BA84FA #DBBFFC #EFE2FE

Accessibility & contrast

On white

2.70
#BA84FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#BA84FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84FA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84FA#FFFFFF#000000##000000
##BA84FA1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#AF99B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba84fa;
/* rgb */ color: rgb(186, 132, 250);
/* oklch */ color: oklch(71.5% 0.173 303.5);
Tailwind
colors: {
  custom: {
    50: '#d1a9fc',
    500: '#ba84fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba84fa;
$custom-light: #d1a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84fa",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 267.458,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71471,
    "c": 0.17278,
    "h": 303.5
  },
  "luminance": 0.33844
}

Semantic roles & 50–950 ramp

primary
#BA84FA
secondary
#E7F6D5
accent
#E6007C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BA84FA

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

Preview Lab → · Contrast checker → · Palette generator →

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