#BA49BB#BA49BB

#BA49BB is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.8% C 0.198 H 327.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA49BB
RGBrgb(186, 73, 187)
HSLhsl(299, 46%, 51%)
HSVhsv(299, 61%, 73%)
CMYKcmyk(0.5%, 61%, 0%, 26.7%)
CIE-LABlab(50.45, 59.98, -38.67)
CIE-LCHlch(50.45, 71.37, 327.19°)
OKLaboklab(59.83% 0.1666 -0.1068)
OKLCHoklch(59.83% 0.198 327.4)
XYZxyz(31.6014, 18.7941, 48.9672)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49BB #4ABB49
analogous
#8149BB #BA49BB #BB4983
triadic
#BA49BB #BBBA49 #49BBBA
tetradic
#BA49BB #BB8149 #4ABB49 #4983BB
square
#BA49BB #BB8149 #4ABB49 #4983BB
split-complementary
#BA49BB #83BB49 #49BB81
monochromatic
#642564 #903691 #BA49BB #CB76CC #DCA2DC

Accessibility & contrast

On white

4.41
#BA49BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BA49BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49BB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49BB#FFFFFF#000000##000000
##BA49BB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBE
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#BF587B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba49bb;
/* rgb */ color: rgb(186, 73, 187);
/* oklch */ color: oklch(59.8% 0.198 327.4);
Tailwind
colors: {
  custom: {
    50: '#d283d0',
    500: '#ba49bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba49bb;
$custom-light: #d283d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49bb",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 299.474,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59826,
    "c": 0.19791,
    "h": 327.4
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#BA49BB
secondary
#97C997
accent
#D55354
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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