#BA49D3#BA49D3

#BA49D3 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.2% C 0.219 H 319.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA49D3
RGBrgb(186, 73, 211)
HSLhsl(289, 61%, 56%)
HSVhsv(289, 65%, 83%)
CMYKcmyk(11.8%, 65.4%, 0%, 17.3%)
CIE-LABlab(51.73, 64.33, -50.44)
CIE-LCHlch(51.73, 81.75, 321.90°)
OKLaboklab(61.18% 0.1673 -0.141)
OKLCHoklch(61.18% 0.219 319.9)
XYZxyz(34.3887, 19.9090, 63.6468)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49D3 #62D349
analogous
#7549D3 #BA49D3 #D349A7
triadic
#BA49D3 #D3BA49 #49D3BA
tetradic
#BA49D3 #D37549 #62D349 #49A7D3
square
#BA49D3 #D37549 #62D349 #49A7D3
split-complementary
#BA49D3 #A7D349 #49D375
monochromatic
#701F82 #9B2BB3 #BA49D3 #CD7ADF #DFACEB

Accessibility & contrast

On white

4.22
#BA49D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#BA49D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49D3
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49D3#FFFFFF#000000##000000
##BA49D31.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C74D7
Deuteranopia (green-blind)
#547FD0
Tritanopia (blue-blind)
#BB6188
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba49d3;
/* rgb */ color: rgb(186, 73, 211);
/* oklch */ color: oklch(61.2% 0.219 319.9);
Tailwind
colors: {
  custom: {
    50: '#d284e1',
    500: '#ba49d3',
    950: '#000000',
  },
}
SCSS
$custom: #ba49d3;
$custom-light: #d284e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49d3",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 211
  },
  "hsl": {
    "h": 289.13,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61176,
    "c": 0.21881,
    "h": 319.9
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

primary
#BA49D3
secondary
#AAD99F
accent
#E44461
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA49D3

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

Preview Lab → · Contrast checker → · Palette generator →

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