#BA71BF#BA71BF

#BA71BF is a light, vivid purple. Relative luminance 0.260; OKLCH L 65.5% C 0.138 H 324.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#BA71BF
RGBrgb(186, 113, 191)
HSLhsl(296, 38%, 60%)
HSVhsv(296, 41%, 75%)
CMYKcmyk(2.6%, 40.8%, 0%, 25.1%)
CIE-LABlab(58.05, 41.10, -29.09)
CIE-LCHlch(58.05, 50.35, 324.71°)
OKLaboklab(65.5% 0.1124 -0.0796)
OKLCHoklch(65.5% 0.138 324.7)
XYZxyz(35.5579, 26.0124, 52.4280)
Luminance0.2601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA71BF #76BF71
analogous
#9371BF #BA71BF #BF719D
triadic
#BA71BF #BFBA71 #71BFBA
tetradic
#BA71BF #BF9371 #76BF71 #719DBF
square
#BA71BF #BF9371 #76BF71 #719DBF
split-complementary
#BA71BF #9DBF71 #71BF93
monochromatic
#79387D #A14BA7 #BA71BF #CE9BD2 #E3C5E5

Accessibility & contrast

On white

3.39
#BA71BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#BA71BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA71BF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA71BF#FFFFFF#000000##000000
##BA71BF1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6986C2
Deuteranopia (green-blind)
#7D8FBD
Tritanopia (blue-blind)
#BD798F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba71bf;
/* rgb */ color: rgb(186, 113, 191);
/* oklch */ color: oklch(65.5% 0.138 324.7);
Tailwind
colors: {
  custom: {
    50: '#d09bd2',
    500: '#ba71bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba71bf;
$custom-light: #d09bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba71bf",
  "rgb": {
    "r": 186,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 296.154,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65503,
    "c": 0.13772,
    "h": 324.7
  },
  "luminance": 0.26011
}

Semantic roles & 50–950 ramp

primary
#BA71BF
secondary
#B9D5B7
accent
#CE5A61
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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