#BA82FA#BA82FA

#BA82FA is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.2% C 0.176 H 303.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#BA82FA
RGBrgb(186, 130, 250)
HSLhsl(268, 92%, 75%)
HSVhsv(268, 48%, 98%)
CMYKcmyk(25.6%, 48%, 0%, 2%)
CIE-LABlab(64.41, 44.50, -52.11)
CIE-LCHlch(64.41, 68.53, 310.50°)
OKLaboklab(71.15% 0.0979 -0.1461)
OKLCHoklch(71.15% 0.176 303.8)
XYZxyz(45.4839, 33.3066, 94.4566)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA82FA #C2FA82
analogous
#8286FA #BA82FA #F682FA
triadic
#BA82FA #FABA82 #82FABA
tetradic
#BA82FA #FA8286 #C2FA82 #82FAF6
square
#BA82FA #FA8286 #C2FA82 #82FAF6
split-complementary
#BA82FA #FAF682 #86FA82
monochromatic
#790CF5 #9A47F8 #BA82FA #DABDFC #EFE2FE

Accessibility & contrast

On white

2.74
#BA82FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#BA82FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA82FA
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA82FA#FFFFFF#000000##000000
##BA82FA1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#6E9CF7
Tritanopia (blue-blind)
#AF97B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba82fa;
/* rgb */ color: rgb(186, 130, 250);
/* oklch */ color: oklch(71.2% 0.176 303.8);
Tailwind
colors: {
  custom: {
    50: '#d1a7fc',
    500: '#ba82fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba82fa;
$custom-light: #d1a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba82fa",
  "rgb": {
    "r": 186,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 268,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7115,
    "c": 0.17588,
    "h": 303.8
  },
  "luminance": 0.33306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA82FA

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

Preview Lab → · Contrast checker → · Palette generator →

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