#BA49BD#BA49BD

#BA49BD is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.9% C 0.200 H 326.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BA49BD
RGBrgb(186, 73, 189)
HSLhsl(298, 47%, 51%)
HSVhsv(298, 61%, 74%)
CMYKcmyk(1.6%, 61.4%, 0%, 25.9%)
CIE-LABlab(50.55, 60.33, -39.67)
CIE-LCHlch(50.55, 72.20, 326.67°)
OKLaboklab(59.93% 0.1668 -0.1097)
OKLCHoklch(59.93% 0.2 326.7)
XYZxyz(31.8170, 18.8803, 50.1027)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49BD #4CBD49
analogous
#8049BD #BA49BD #BD4986
triadic
#BA49BD #BDBA49 #49BDBA
tetradic
#BA49BD #BD8049 #4CBD49 #4986BD
square
#BA49BD #BD8049 #4CBD49 #4986BD
split-complementary
#BA49BD #86BD49 #49BD80
monochromatic
#652566 #913593 #BA49BD #CB76CD #DCA3DE

Accessibility & contrast

On white

4.40
#BA49BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#BA49BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49BD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49BD#FFFFFF#000000##000000
##BA49BD1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#396FC1
Deuteranopia (green-blind)
#627DBA
Tritanopia (blue-blind)
#BF587C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba49bd;
/* rgb */ color: rgb(186, 73, 189);
/* oklch */ color: oklch(59.9% 0.200 326.7);
Tailwind
colors: {
  custom: {
    50: '#d283d1',
    500: '#ba49bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba49bd;
$custom-light: #d283d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49bd",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 298.448,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59933,
    "c": 0.1996,
    "h": 326.7
  },
  "luminance": 0.18878
}

Semantic roles & 50–950 ramp

primary
#BA49BD
secondary
#99CA97
accent
#D65155
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA49BD

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

Preview Lab → · Contrast checker → · Palette generator →

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