#BA49AA#BA49AA

#BA49AA is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.0% C 0.184 H 333.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA49AA
RGBrgb(186, 73, 170)
HSLhsl(308, 45%, 51%)
HSVhsv(308, 61%, 73%)
CMYKcmyk(0%, 60.8%, 8.6%, 27.1%)
CIE-LABlab(49.63, 57.13, -30.02)
CIE-LCHlch(49.63, 64.54, 332.28°)
OKLaboklab(58.96% 0.1648 -0.0819)
OKLCHoklch(58.96% 0.184 333.6)
XYZxyz(29.8880, 18.1087, 39.9436)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49AA #49BA59
analogous
#9249BA #BA49AA #BA4971
triadic
#BA49AA #AABA49 #49AABA
tetradic
#BA49AA #BA9249 #49BA59 #4971BA
square
#BA49AA #BA9249 #49BA59 #4971BA
split-complementary
#BA49AA #71BA49 #49BA92
monochromatic
#63265A #8F3683 #BA49AA #CB75BF #DCA2D3

Accessibility & contrast

On white

4.54
#BA49AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BA49AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49AA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49AA#FFFFFF#000000##000000
##BA49AA1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#476CAD
Deuteranopia (green-blind)
#6B7CA7
Tritanopia (blue-blind)
#C25173
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba49aa;
/* rgb */ color: rgb(186, 73, 170);
/* oklch */ color: oklch(59.0% 0.184 333.6);
Tailwind
colors: {
  custom: {
    50: '#d283c3',
    500: '#ba49aa',
    950: '#000000',
  },
}
SCSS
$custom: #ba49aa;
$custom-light: #d283c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49aa",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 170
  },
  "hsl": {
    "h": 308.496,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58964,
    "c": 0.18404,
    "h": 333.6
  },
  "luminance": 0.18106
}

Semantic roles & 50–950 ramp

primary
#BA49AA
secondary
#96C89D
accent
#D56553
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA49AA

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

Preview Lab → · Contrast checker → · Palette generator →

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