#BA49C2#BA49C2

#BA49C2 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.2% C 0.204 H 325.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA49C2
RGBrgb(186, 73, 194)
HSLhsl(296, 50%, 52%)
HSVhsv(296, 62%, 76%)
CMYKcmyk(4.1%, 62.4%, 0%, 23.9%)
CIE-LABlab(50.81, 61.21, -42.16)
CIE-LCHlch(50.81, 74.33, 325.45°)
OKLaboklab(60.21% 0.1671 -0.1169)
OKLCHoklch(60.21% 0.204 325)
XYZxyz(32.3691, 19.1011, 53.0104)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49C2 #51C249
analogous
#7E49C2 #BA49C2 #C2498E
triadic
#BA49C2 #C2BA49 #49C2BA
tetradic
#BA49C2 #C27E49 #51C249 #498EC2
square
#BA49C2 #C27E49 #51C249 #498EC2
split-complementary
#BA49C2 #8EC249 #49C27E
monochromatic
#68246C #93349A #BA49C2 #CB77D1 #DDA5E1

Accessibility & contrast

On white

4.36
#BA49C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#BA49C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49C2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49C2#FFFFFF#000000##000000
##BA49C21.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3470C6
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#BE5A7F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba49c2;
/* rgb */ color: rgb(186, 73, 194);
/* oklch */ color: oklch(60.2% 0.204 325.0);
Tailwind
colors: {
  custom: {
    50: '#d283d5',
    500: '#ba49c2',
    950: '#000000',
  },
}
SCSS
$custom: #ba49c2;
$custom-light: #d283d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49c2",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 296.033,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60205,
    "c": 0.20389,
    "h": 325
  },
  "luminance": 0.19099
}

Semantic roles & 50–950 ramp

primary
#BA49C2
secondary
#9DCE99
accent
#D94E58
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA49C2

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

Preview Lab → · Contrast checker → · Palette generator →

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