#BA71DA#BA71DA

#BA71DA is a light, vivid purple. Relative luminance 0.273; OKLCH L 66.8% C 0.166 H 314.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#BA71DA
RGBrgb(186, 113, 218)
HSLhsl(282, 59%, 65%)
HSVhsv(282, 48%, 85%)
CMYKcmyk(14.7%, 48.2%, 0%, 14.5%)
CIE-LABlab(59.26, 46.53, -42.48)
CIE-LCHlch(59.26, 63.00, 317.61°)
OKLaboklab(66.81% 0.1171 -0.1181)
OKLCHoklch(66.81% 0.166 314.8)
XYZxyz(38.8077, 27.3124, 69.5436)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA71DA #91DA71
analogous
#8571DA #BA71DA #DA71C6
triadic
#BA71DA #DABA71 #71DABA
tetradic
#BA71DA #DA8571 #91DA71 #71C6DA
square
#BA71DA #DA8571 #91DA71 #71C6DA
split-complementary
#BA71DA #C6DA71 #71DA85
monochromatic
#802BA5 #A240CD #BA71DA #D2A2E7 #E9D2F3

Accessibility & contrast

On white

3.25
#BA71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#BA71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA71DA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA71DA#FFFFFF#000000##000000
##BA71DA1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8ADE
Deuteranopia (green-blind)
#7091D7
Tritanopia (blue-blind)
#B8819B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba71da;
/* rgb */ color: rgb(186, 113, 218);
/* oklch */ color: oklch(66.8% 0.166 314.8);
Tailwind
colors: {
  custom: {
    50: '#d19ce6',
    500: '#ba71da',
    950: '#000000',
  },
}
SCSS
$custom: #ba71da;
$custom-light: #d19ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba71da",
  "rgb": {
    "r": 186,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 281.714,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66806,
    "c": 0.16626,
    "h": 314.8
  },
  "luminance": 0.27311
}

Semantic roles & 50–950 ramp

primary
#BA71DA
secondary
#CCE5C1
accent
#C61F52
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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