#BA49D5#BA49D5

#BA49D5 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.3% C 0.221 H 319.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA49D5
RGBrgb(186, 73, 213)
HSLhsl(288, 63%, 56%)
HSVhsv(288, 66%, 84%)
CMYKcmyk(12.7%, 65.7%, 0%, 16.5%)
CIE-LABlab(51.85, 64.70, -51.40)
CIE-LCHlch(51.85, 82.63, 321.54°)
OKLaboklab(61.3% 0.1673 -0.1438)
OKLCHoklch(61.3% 0.221 319.3)
XYZxyz(34.6409, 20.0099, 64.9755)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49D5 #64D549
analogous
#7449D5 #BA49D5 #D549AA
triadic
#BA49D5 #D5BA49 #49D5BA
tetradic
#BA49D5 #D57449 #64D549 #49AAD5
square
#BA49D5 #D57449 #64D549 #49AAD5
split-complementary
#BA49D5 #AAD549 #49D574
monochromatic
#711F85 #9C2AB7 #BA49D5 #CD7BE0 #E0ACEC

Accessibility & contrast

On white

4.20
#BA49D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BA49D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49D5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49D5#FFFFFF#000000##000000
##BA49D51.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1774D9
Deuteranopia (green-blind)
#537FD2
Tritanopia (blue-blind)
#BA6289
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba49d5;
/* rgb */ color: rgb(186, 73, 213);
/* oklch */ color: oklch(61.3% 0.221 319.3);
Tailwind
colors: {
  custom: {
    50: '#d284e2',
    500: '#ba49d5',
    950: '#000000',
  },
}
SCSS
$custom: #ba49d5;
$custom-light: #d284e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49d5",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 288.429,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61295,
    "c": 0.22059,
    "h": 319.3
  },
  "luminance": 0.20008
}

Semantic roles & 50–950 ramp

primary
#BA49D5
secondary
#ABDAA0
accent
#E64262
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA49D5

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

Preview Lab → · Contrast checker → · Palette generator →

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