#BA49D2#BA49D2

#BA49D2 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.1% C 0.218 H 320.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BA49D2
RGBrgb(186, 73, 210)
HSLhsl(289, 60%, 55%)
HSVhsv(289, 65%, 82%)
CMYKcmyk(11.4%, 65.2%, 0%, 17.6%)
CIE-LABlab(51.68, 64.14, -49.96)
CIE-LCHlch(51.68, 81.30, 322.08°)
OKLaboklab(61.12% 0.1673 -0.1396)
OKLCHoklch(61.12% 0.218 320.2)
XYZxyz(34.2637, 19.8590, 62.9886)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49D2 #61D249
analogous
#7549D2 #BA49D2 #D249A5
triadic
#BA49D2 #D2BA49 #49D2BA
tetradic
#BA49D2 #D27549 #61D249 #49A5D2
square
#BA49D2 #D27549 #61D249 #49A5D2
split-complementary
#BA49D2 #A5D249 #49D275
monochromatic
#702081 #9A2CB2 #BA49D2 #CD7ADE #DFABEA

Accessibility & contrast

On white

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

On black

4.97
#BA49D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49D2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49D2#FFFFFF#000000##000000
##BA49D21.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E73D6
Deuteranopia (green-blind)
#557FCF
Tritanopia (blue-blind)
#BB6188
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba49d2;
/* rgb */ color: rgb(186, 73, 210);
/* oklch */ color: oklch(61.1% 0.218 320.2);
Tailwind
colors: {
  custom: {
    50: '#d284e0',
    500: '#ba49d2',
    950: '#000000',
  },
}
SCSS
$custom: #ba49d2;
$custom-light: #d284e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49d2",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 289.489,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61116,
    "c": 0.21792,
    "h": 320.2
  },
  "luminance": 0.19857
}

Semantic roles & 50–950 ramp

primary
#BA49D2
secondary
#A9D89F
accent
#E34460
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA49D2

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

Preview Lab → · Contrast checker → · Palette generator →

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