#BA49C0#BA49C0

#BA49C0 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.1% C 0.202 H 325.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BA49C0
RGBrgb(186, 73, 192)
HSLhsl(297, 49%, 52%)
HSVhsv(297, 62%, 75%)
CMYKcmyk(3.1%, 62%, 0%, 24.7%)
CIE-LABlab(50.70, 60.86, -41.16)
CIE-LCHlch(50.70, 73.47, 325.93°)
OKLaboklab(60.1% 0.167 -0.114)
OKLCHoklch(60.1% 0.202 325.7)
XYZxyz(32.1460, 19.0119, 51.8354)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49C0 #4FC049
analogous
#7F49C0 #BA49C0 #C0498B
triadic
#BA49C0 #C0BA49 #49C0BA
tetradic
#BA49C0 #C07F49 #4FC049 #498BC0
square
#BA49C0 #C07F49 #4FC049 #498BC0
split-complementary
#BA49C0 #8BC049 #49C07F
monochromatic
#66256A #923497 #BA49C0 #CB76D0 #DCA4DF

Accessibility & contrast

On white

4.37
#BA49C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BA49C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49C0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49C0#FFFFFF#000000##000000
##BA49C01.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3670C4
Deuteranopia (green-blind)
#607EBD
Tritanopia (blue-blind)
#BE5A7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba49c0;
/* rgb */ color: rgb(186, 73, 192);
/* oklch */ color: oklch(60.1% 0.202 325.7);
Tailwind
colors: {
  custom: {
    50: '#d283d3',
    500: '#ba49c0',
    950: '#000000',
  },
}
SCSS
$custom: #ba49c0;
$custom-light: #d283d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49c0",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 192
  },
  "hsl": {
    "h": 296.975,
    "s": 48.571,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60095,
    "c": 0.20216,
    "h": 325.7
  },
  "luminance": 0.1901
}

Semantic roles & 50–950 ramp

primary
#BA49C0
secondary
#9BCC98
accent
#D85057
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA49C0

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

Preview Lab → · Contrast checker → · Palette generator →

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