#BA71FA#BA71FA

#BA71FA is a light, highly saturated violet. Relative luminance 0.292; OKLCH L 68.6% C 0.202 H 306.4°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#BA71FA
RGBrgb(186, 113, 250)
HSLhsl(272, 93%, 71%)
HSVhsv(272, 55%, 98%)
CMYKcmyk(25.6%, 54.8%, 0%, 2%)
CIE-LABlab(60.92, 53.51, -57.67)
CIE-LCHlch(60.92, 78.67, 312.86°)
OKLaboklab(68.56% 0.1197 -0.1623)
OKLCHoklch(68.56% 0.202 306.4)
XYZxyz(43.4065, 29.1519, 93.7641)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA71FA #B1FA71
analogous
#7571FA #BA71FA #FA71F5
triadic
#BA71FA #FABA71 #71FABA
tetradic
#BA71FA #FA7571 #B1FA71 #71F5FA
square
#BA71FA #FA7571 #B1FA71 #71F5FA
split-complementary
#BA71FA #F5FA71 #71FA75
monochromatic
#8008E8 #9D36F8 #BA71FA #D7ACFC #F1E1FE

Accessibility & contrast

On white

3.07
#BA71FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#BA71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA71FA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA71FA#FFFFFF#000000##000000
##BA71FA1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4190FF
Deuteranopia (green-blind)
#5B93F7
Tritanopia (blue-blind)
#B08BAB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba71fa;
/* rgb */ color: rgb(186, 113, 250);
/* oklch */ color: oklch(68.6% 0.202 306.4);
Tailwind
colors: {
  custom: {
    50: '#d29cfc',
    500: '#ba71fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba71fa;
$custom-light: #d29cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba71fa",
  "rgb": {
    "r": 186,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 271.971,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68564,
    "c": 0.20169,
    "h": 306.4
  },
  "luminance": 0.29151
}

Semantic roles & 50–950 ramp

primary
#BA71FA
secondary
#E2F5D1
accent
#E6006B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BA71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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