#BA49D6#BA49D6

#BA49D6 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.4% C 0.221 H 319.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA49D6
RGBrgb(186, 73, 214)
HSLhsl(288, 63%, 56%)
HSVhsv(288, 66%, 84%)
CMYKcmyk(13.1%, 65.9%, 0%, 16.1%)
CIE-LABlab(51.91, 64.89, -51.88)
CIE-LCHlch(51.91, 83.08, 321.36°)
OKLaboklab(61.36% 0.1673 -0.1452)
OKLCHoklch(61.36% 0.221 319)
XYZxyz(34.7682, 20.0608, 65.6460)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49D6 #65D649
analogous
#7449D6 #BA49D6 #D649AC
triadic
#BA49D6 #D6BA49 #49D6BA
tetradic
#BA49D6 #D67449 #65D649 #49ACD6
square
#BA49D6 #D67449 #65D649 #49ACD6
split-complementary
#BA49D6 #ACD649 #49D674
monochromatic
#721E86 #9C2AB8 #BA49D6 #CD7BE1 #E0ADED

Accessibility & contrast

On white

4.19
#BA49D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#BA49D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49D6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49D6#FFFFFF#000000##000000
##BA49D61.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1474DA
Deuteranopia (green-blind)
#5280D3
Tritanopia (blue-blind)
#BA628A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba49d6;
/* rgb */ color: rgb(186, 73, 214);
/* oklch */ color: oklch(61.4% 0.221 319.0);
Tailwind
colors: {
  custom: {
    50: '#d284e3',
    500: '#ba49d6',
    950: '#000000',
  },
}
SCSS
$custom: #ba49d6;
$custom-light: #d284e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49d6",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 214
  },
  "hsl": {
    "h": 288.085,
    "s": 63.229,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61355,
    "c": 0.22149,
    "h": 319
  },
  "luminance": 0.20059
}

Semantic roles & 50–950 ramp

primary
#BA49D6
secondary
#ACDAA0
accent
#E64262
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150B15
muted
#837C84

Preview Lab

Preview with #BA49D6

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

Preview Lab → · Contrast checker → · Palette generator →

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