#BA84F9#BA84F9

#BA84F9 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.4% C 0.172 H 303.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#BA84F9
RGBrgb(186, 132, 249)
HSLhsl(268, 91%, 75%)
HSVhsv(268, 47%, 98%)
CMYKcmyk(25.3%, 47%, 0%, 2.4%)
CIE-LABlab(64.79, 43.18, -50.96)
CIE-LCHlch(64.79, 66.80, 310.28°)
OKLaboklab(71.42% 0.0951 -0.1428)
OKLCHoklch(71.42% 0.172 303.7)
XYZxyz(45.5961, 33.7813, 93.7225)
Luminance0.3378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84F9 #C3F984
analogous
#8489F9 #BA84F9 #F484F9
triadic
#BA84F9 #F9BA84 #84F9BA
tetradic
#BA84F9 #F98489 #C3F984 #84F9F4
square
#BA84F9 #F98489 #C3F984 #84F9F4
split-complementary
#BA84F9 #F9F484 #89F984
monochromatic
#790FF3 #994AF6 #BA84F9 #DBBEFC #EFE2FE

Accessibility & contrast

On white

2.71
#BA84F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#BA84F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84F9
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84F9#FFFFFF#000000##000000
##BA84F91.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFD
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#AF98B3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba84f9;
/* rgb */ color: rgb(186, 132, 249);
/* oklch */ color: oklch(71.4% 0.172 303.7);
Tailwind
colors: {
  custom: {
    50: '#d1a9fc',
    500: '#ba84f9',
    950: '#000000',
  },
}
SCSS
$custom: #ba84f9;
$custom-light: #d1a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84f9",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 249
  },
  "hsl": {
    "h": 267.692,
    "s": 90.698,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71418,
    "c": 0.17157,
    "h": 303.7
  },
  "luminance": 0.33781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA84F9

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

Preview Lab → · Contrast checker → · Palette generator →

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