#BA49C8#BA49C8

#BA49C8 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.5% C 0.209 H 323.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA49C8
RGBrgb(186, 73, 200)
HSLhsl(293, 54%, 54%)
HSVhsv(293, 64%, 78%)
CMYKcmyk(7%, 63.5%, 0%, 21.6%)
CIE-LABlab(51.12, 62.29, -45.11)
CIE-LCHlch(51.12, 76.91, 324.09°)
OKLaboklab(60.54% 0.1673 -0.1254)
OKLCHoklch(60.54% 0.209 323.1)
XYZxyz(33.0566, 19.3761, 56.6312)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49C8 #57C849
analogous
#7A49C8 #BA49C8 #C84996
triadic
#BA49C8 #C8BA49 #49C8BA
tetradic
#BA49C8 #C87A49 #57C849 #4996C8
square
#BA49C8 #C87A49 #57C849 #4996C8
split-complementary
#BA49C8 #96C849 #49C87A
monochromatic
#6B2374 #9631A3 #BA49C8 #CC78D6 #DEA7E4

Accessibility & contrast

On white

4.31
#BA49C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#BA49C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49C8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49C8#FFFFFF#000000##000000
##BA49C81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CC
Deuteranopia (green-blind)
#5C7EC5
Tritanopia (blue-blind)
#BD5D82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba49c8;
/* rgb */ color: rgb(186, 73, 200);
/* oklch */ color: oklch(60.5% 0.209 323.1);
Tailwind
colors: {
  custom: {
    50: '#d283d9',
    500: '#ba49c8',
    950: '#000000',
  },
}
SCSS
$custom: #ba49c8;
$custom-light: #d283d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49c8",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 293.386,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60539,
    "c": 0.20909,
    "h": 323.1
  },
  "luminance": 0.19374
}

Semantic roles & 50–950 ramp

primary
#BA49C8
secondary
#A1D29B
accent
#DD4B5B
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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