#BA72AF#BA72AF

#BA72AF is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.0% C 0.121 H 332.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#BA72AF
RGBrgb(186, 114, 175)
HSLhsl(309, 34%, 59%)
HSVhsv(309, 39%, 73%)
CMYKcmyk(0%, 38.7%, 5.9%, 27.1%)
CIE-LABlab(57.63, 37.59, -20.58)
CIE-LCHlch(57.63, 42.86, 331.31°)
OKLaboklab(64.98% 0.107 -0.0555)
OKLCHoklch(64.98% 0.121 332.6)
XYZxyz(34.0046, 25.5706, 43.6936)
Luminance0.2557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA72AF #72BA7D
analogous
#A172BA #BA72AF #BA728B
triadic
#BA72AF #AFBA72 #72AFBA
tetradic
#BA72AF #BAA172 #72BA7D #728BBA
square
#BA72AF #BAA172 #72BA7D #728BBA
split-complementary
#BA72AF #8BBA72 #72BAA1
monochromatic
#773A6E #A04E94 #BA72AF #CE9BC6 #E2C4DE

Accessibility & contrast

On white

3.43
#BA72AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#BA72AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA72AF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA72AF#FFFFFF#000000##000000
##BA72AF1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7184B1
Deuteranopia (green-blind)
#838EAD
Tritanopia (blue-blind)
#C07689
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba72af;
/* rgb */ color: rgb(186, 114, 175);
/* oklch */ color: oklch(65.0% 0.121 332.6);
Tailwind
colors: {
  custom: {
    50: '#d09cc7',
    500: '#ba72af',
    950: '#000000',
  },
}
SCSS
$custom: #ba72af;
$custom-light: #d09cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba72af",
  "rgb": {
    "r": 186,
    "g": 114,
    "b": 175
  },
  "hsl": {
    "h": 309.167,
    "s": 34.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64977,
    "c": 0.12058,
    "h": 332.6
  },
  "luminance": 0.25569
}

Semantic roles & 50–950 ramp

primary
#BA72AF
secondary
#B6D2BA
accent
#CA6E5D
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#140E13
muted
#827E82

Preview Lab

Preview with #BA72AF

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

Preview Lab → · Contrast checker → · Palette generator →

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