#BA72BB#BA72BB

#BA72BB is a light, vivid purple. Relative luminance 0.261; OKLCH L 65.5% C 0.132 H 326.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#BA72BB
RGBrgb(186, 114, 187)
HSLhsl(299, 35%, 59%)
HSVhsv(299, 39%, 73%)
CMYKcmyk(0.5%, 39%, 0%, 26.7%)
CIE-LABlab(58.10, 39.80, -26.73)
CIE-LCHlch(58.10, 47.95, 326.12°)
OKLaboklab(65.49% 0.11 -0.0729)
OKLCHoklch(65.49% 0.132 326.5)
XYZxyz(35.2359, 26.0631, 50.1787)
Luminance0.2606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA72BB #73BB72
analogous
#9672BB #BA72BB #BB7298
triadic
#BA72BB #BBBA72 #72BBBA
tetradic
#BA72BB #BB9672 #73BB72 #7298BB
square
#BA72BB #BB9672 #73BB72 #7298BB
split-complementary
#BA72BB #98BB72 #72BB96
monochromatic
#783A78 #A14EA2 #BA72BB #CE9BCF #E2C5E3

Accessibility & contrast

On white

3.38
#BA72BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#BA72BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA72BB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA72BB#FFFFFF#000000##000000
##BA72BB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BE
Deuteranopia (green-blind)
#7F8FB9
Tritanopia (blue-blind)
#BE798E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba72bb;
/* rgb */ color: rgb(186, 114, 187);
/* oklch */ color: oklch(65.5% 0.132 326.5);
Tailwind
colors: {
  custom: {
    50: '#d09ccf',
    500: '#ba72bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba72bb;
$custom-light: #d09ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba72bb",
  "rgb": {
    "r": 186,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 299.178,
    "s": 34.928,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65485,
    "c": 0.13197,
    "h": 326.5
  },
  "luminance": 0.26062
}

Semantic roles & 50–950 ramp

primary
#BA72BB
secondary
#B6D3B6
accent
#CB5D5E
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA72BB

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

Preview Lab → · Contrast checker → · Palette generator →

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