#BA49C1#BA49C1

#BA49C1 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.2% C 0.203 H 325.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BA49C1
RGBrgb(186, 73, 193)
HSLhsl(297, 49%, 52%)
HSVhsv(297, 62%, 76%)
CMYKcmyk(3.6%, 62.2%, 0%, 24.3%)
CIE-LABlab(50.75, 61.04, -41.66)
CIE-LCHlch(50.75, 73.90, 325.68°)
OKLaboklab(60.15% 0.167 -0.1154)
OKLCHoklch(60.15% 0.203 325.4)
XYZxyz(32.2572, 19.0564, 52.4209)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49C1 #50C149
analogous
#7E49C1 #BA49C1 #C1498C
triadic
#BA49C1 #C1BA49 #49C1BA
tetradic
#BA49C1 #C17E49 #50C149 #498CC1
square
#BA49C1 #C17E49 #50C149 #498CC1
split-complementary
#BA49C1 #8CC149 #49C17E
monochromatic
#67246B #933499 #BA49C1 #CB77D1 #DDA4E0

Accessibility & contrast

On white

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

On black

4.81
#BA49C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49C1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49C1#FFFFFF#000000##000000
##BA49C11.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3570C5
Deuteranopia (green-blind)
#607EBE
Tritanopia (blue-blind)
#BE5A7F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba49c1;
/* rgb */ color: rgb(186, 73, 193);
/* oklch */ color: oklch(60.2% 0.203 325.4);
Tailwind
colors: {
  custom: {
    50: '#d283d4',
    500: '#ba49c1',
    950: '#000000',
  },
}
SCSS
$custom: #ba49c1;
$custom-light: #d283d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49c1",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 193
  },
  "hsl": {
    "h": 296.5,
    "s": 49.18,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6015,
    "c": 0.20303,
    "h": 325.4
  },
  "luminance": 0.19054
}

Semantic roles & 50–950 ramp

primary
#BA49C1
secondary
#9CCD99
accent
#D94F57
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA49C1

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

Preview Lab → · Contrast checker → · Palette generator →

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