#BA49BF#BA49BF

#BA49BF is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.0% C 0.201 H 326.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA49BF
RGBrgb(186, 73, 191)
HSLhsl(297, 48%, 52%)
HSVhsv(297, 62%, 75%)
CMYKcmyk(2.6%, 61.8%, 0%, 25.1%)
CIE-LABlab(50.65, 60.68, -40.67)
CIE-LCHlch(50.65, 73.05, 326.17°)
OKLaboklab(60.04% 0.1669 -0.1125)
OKLCHoklch(60.04% 0.201 326)
XYZxyz(32.0356, 18.9677, 51.2539)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49BF #4EBF49
analogous
#7F49BF #BA49BF #BF4989
triadic
#BA49BF #BFBA49 #49BFBA
tetradic
#BA49BF #BF7F49 #4EBF49 #4989BF
square
#BA49BF #BF7F49 #4EBF49 #4989BF
split-complementary
#BA49BF #89BF49 #49BF7F
monochromatic
#662569 #923596 #BA49BF #CB76CF #DCA4DF

Accessibility & contrast

On white

4.38
#BA49BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BA49BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49BF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49BF#FFFFFF#000000##000000
##BA49BF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#376FC3
Deuteranopia (green-blind)
#617EBC
Tritanopia (blue-blind)
#BF597D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba49bf;
/* rgb */ color: rgb(186, 73, 191);
/* oklch */ color: oklch(60.0% 0.201 326.0);
Tailwind
colors: {
  custom: {
    50: '#d283d3',
    500: '#ba49bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba49bf;
$custom-light: #d283d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49bf",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 297.458,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60041,
    "c": 0.20131,
    "h": 326
  },
  "luminance": 0.18966
}

Semantic roles & 50–950 ramp

primary
#BA49BF
secondary
#9ACC98
accent
#D85056
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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