#BA71BE#BA71BE

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

Color values

HEX#BA71BE
RGBrgb(186, 113, 190)
HSLhsl(297, 37%, 59%)
HSVhsv(297, 41%, 75%)
CMYKcmyk(2.1%, 40.5%, 0%, 25.5%)
CIE-LABlab(58.01, 40.91, -28.58)
CIE-LCHlch(58.01, 49.90, 325.06°)
OKLaboklab(65.46% 0.1122 -0.0781)
OKLCHoklch(65.46% 0.137 325.1)
XYZxyz(35.4482, 25.9686, 51.8504)
Luminance0.2597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA71BE #75BE71
analogous
#9471BE #BA71BE #BE719C
triadic
#BA71BE #BEBA71 #71BEBA
tetradic
#BA71BE #BE9471 #75BE71 #719CBE
square
#BA71BE #BE9471 #75BE71 #719CBE
split-complementary
#BA71BE #9CBE71 #71BE94
monochromatic
#78397C #A14CA6 #BA71BE #CE9BD1 #E3C5E4

Accessibility & contrast

On white

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

On black

6.19
#BA71BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA71BE
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA71BE#FFFFFF#000000##000000
##BA71BE1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A86C1
Deuteranopia (green-blind)
#7D8FBC
Tritanopia (blue-blind)
#BD798F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba71be;
/* rgb */ color: rgb(186, 113, 190);
/* oklch */ color: oklch(65.5% 0.137 325.1);
Tailwind
colors: {
  custom: {
    50: '#d09bd2',
    500: '#ba71be',
    950: '#000000',
  },
}
SCSS
$custom: #ba71be;
$custom-light: #d09bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba71be",
  "rgb": {
    "r": 186,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 296.883,
    "s": 37.198,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65458,
    "c": 0.13672,
    "h": 325.1
  },
  "luminance": 0.25967
}

Semantic roles & 50–950 ramp

primary
#BA71BE
secondary
#B8D4B6
accent
#CD5B61
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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