#BA49C7#BA49C7

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

Color values

HEX#BA49C7
RGBrgb(186, 73, 199)
HSLhsl(294, 53%, 53%)
HSVhsv(294, 63%, 78%)
CMYKcmyk(6.5%, 63.3%, 0%, 22%)
CIE-LABlab(51.07, 62.11, -44.62)
CIE-LCHlch(51.07, 76.48, 324.31°)
OKLaboklab(60.48% 0.1673 -0.124)
OKLCHoklch(60.48% 0.208 323.4)
XYZxyz(32.9401, 19.3295, 56.0177)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49C7 #56C749
analogous
#7B49C7 #BA49C7 #C74995
triadic
#BA49C7 #C7BA49 #49C7BA
tetradic
#BA49C7 #C77B49 #56C749 #4995C7
square
#BA49C7 #C77B49 #56C749 #4995C7
split-complementary
#BA49C7 #95C749 #49C77B
monochromatic
#6A2372 #9632A1 #BA49C7 #CC78D5 #DDA7E4

Accessibility & contrast

On white

4.32
#BA49C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA49C7#FFFFFF#000000##000000
##BA49C71.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F71CB
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#BD5C82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba49c7;
/* rgb */ color: rgb(186, 73, 199);
/* oklch */ color: oklch(60.5% 0.208 323.4);
Tailwind
colors: {
  custom: {
    50: '#d283d8',
    500: '#ba49c7',
    950: '#000000',
  },
}
SCSS
$custom: #ba49c7;
$custom-light: #d283d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49c7",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 199
  },
  "hsl": {
    "h": 293.81,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60482,
    "c": 0.20822,
    "h": 323.4
  },
  "luminance": 0.19328
}

Semantic roles & 50–950 ramp

primary
#BA49C7
secondary
#A0D19B
accent
#DC4B5A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA49C7

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

Preview Lab → · Contrast checker → · Palette generator →

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