#BA49C4#BA49C4

#BA49C4 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.3% C 0.206 H 324.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA49C4
RGBrgb(186, 73, 196)
HSLhsl(295, 51%, 53%)
HSVhsv(295, 63%, 77%)
CMYKcmyk(5.1%, 62.8%, 0%, 23.1%)
CIE-LABlab(50.91, 61.57, -43.14)
CIE-LCHlch(50.91, 75.18, 324.98°)
OKLaboklab(60.32% 0.1672 -0.1197)
OKLCHoklch(60.32% 0.206 324.4)
XYZxyz(32.5952, 19.1916, 54.2013)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49C4 #53C449
analogous
#7C49C4 #BA49C4 #C44990
triadic
#BA49C4 #C4BA49 #49C4BA
tetradic
#BA49C4 #C47C49 #53C449 #4990C4
square
#BA49C4 #C47C49 #53C449 #4990C4
split-complementary
#BA49C4 #90C449 #49C47C
monochromatic
#69246F #94339D #BA49C4 #CC77D3 #DDA5E2

Accessibility & contrast

On white

4.34
#BA49C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#BA49C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49C4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49C4#FFFFFF#000000##000000
##BA49C41.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3270C8
Deuteranopia (green-blind)
#5E7EC1
Tritanopia (blue-blind)
#BE5B80
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba49c4;
/* rgb */ color: rgb(186, 73, 196);
/* oklch */ color: oklch(60.3% 0.206 324.4);
Tailwind
colors: {
  custom: {
    50: '#d283d6',
    500: '#ba49c4',
    950: '#000000',
  },
}
SCSS
$custom: #ba49c4;
$custom-light: #d283d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49c4",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 196
  },
  "hsl": {
    "h": 295.122,
    "s": 51.037,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60315,
    "c": 0.20561,
    "h": 324.4
  },
  "luminance": 0.1919
}

Semantic roles & 50–950 ramp

primary
#BA49C4
secondary
#9ECF9A
accent
#DB4D59
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA49C4

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

Preview Lab → · Contrast checker → · Palette generator →

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