#BA84FD#BA84FD

#BA84FD is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.6% C 0.176 H 302.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#BA84FD
RGBrgb(186, 132, 253)
HSLhsl(267, 97%, 75%)
HSVhsv(267, 48%, 99%)
CMYKcmyk(26.5%, 47.8%, 0%, 0.8%)
CIE-LABlab(64.99, 44.12, -52.83)
CIE-LCHlch(64.99, 68.83, 309.86°)
OKLaboklab(71.63% 0.0956 -0.1483)
OKLCHoklch(71.63% 0.176 302.8)
XYZxyz(46.2267, 34.0335, 97.0432)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84FD #C7FD84
analogous
#848AFD #BA84FD #F784FD
triadic
#BA84FD #FDBA84 #84FDBA
tetradic
#BA84FD #FD848A #C7FD84 #84FDF7
square
#BA84FD #FD848A #C7FD84 #84FDF7
split-complementary
#BA84FD #FDF784 #8AFD84
monochromatic
#760CFB #9848FC #BA84FD #DCC0FE #EEE1FF

Accessibility & contrast

On white

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

On black

7.81
#BA84FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84FD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84FD#FFFFFF#000000##000000
##BA84FD1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#6E9DFA
Tritanopia (blue-blind)
#AE9AB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba84fd;
/* rgb */ color: rgb(186, 132, 253);
/* oklch */ color: oklch(71.6% 0.176 302.8);
Tailwind
colors: {
  custom: {
    50: '#d1a9fe',
    500: '#ba84fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba84fd;
$custom-light: #d1a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84fd",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 253
  },
  "hsl": {
    "h": 266.777,
    "s": 96.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71632,
    "c": 0.17639,
    "h": 302.8
  },
  "luminance": 0.34033
}

Semantic roles & 50–950 ramp

primary
#BA84FD
secondary
#E7F7D4
accent
#E6007F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BA84FD

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

Preview Lab → · Contrast checker → · Palette generator →

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