#BA49D1#BA49D1

#BA49D1 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.1% C 0.217 H 320.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA49D1
RGBrgb(186, 73, 209)
HSLhsl(290, 60%, 55%)
HSVhsv(290, 65%, 82%)
CMYKcmyk(11%, 65.1%, 0%, 18%)
CIE-LABlab(51.62, 63.95, -49.48)
CIE-LCHlch(51.62, 80.86, 322.27°)
OKLaboklab(61.06% 0.1674 -0.1382)
OKLCHoklch(61.06% 0.217 320.5)
XYZxyz(34.1395, 19.8093, 62.3346)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49D1 #60D149
analogous
#7649D1 #BA49D1 #D149A4
triadic
#BA49D1 #D1BA49 #49D1BA
tetradic
#BA49D1 #D17649 #60D149 #49A4D1
square
#BA49D1 #D17649 #60D149 #49A4D1
split-complementary
#BA49D1 #A4D149 #49D176
monochromatic
#6F207F #9A2DB0 #BA49D1 #CD7ADD #DFABEA

Accessibility & contrast

On white

4.23
#BA49D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BA49D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49D1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49D1#FFFFFF#000000##000000
##BA49D11.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2073D5
Deuteranopia (green-blind)
#567FCE
Tritanopia (blue-blind)
#BB6087
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba49d1;
/* rgb */ color: rgb(186, 73, 209);
/* oklch */ color: oklch(61.1% 0.217 320.5);
Tailwind
colors: {
  custom: {
    50: '#d284e0',
    500: '#ba49d1',
    950: '#000000',
  },
}
SCSS
$custom: #ba49d1;
$custom-light: #d284e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49d1",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 209
  },
  "hsl": {
    "h": 289.853,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.21703,
    "h": 320.5
  },
  "luminance": 0.19808
}

Semantic roles & 50–950 ramp

primary
#BA49D1
secondary
#A8D79E
accent
#E34560
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA49D1

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

Preview Lab → · Contrast checker → · Palette generator →

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