#BA49CA#BA49CA

#BA49CA is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.7% C 0.211 H 322.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA49CA
RGBrgb(186, 73, 202)
HSLhsl(293, 55%, 54%)
HSVhsv(293, 64%, 79%)
CMYKcmyk(7.9%, 63.9%, 0%, 20.8%)
CIE-LABlab(51.23, 62.66, -46.09)
CIE-LCHlch(51.23, 77.78, 323.66°)
OKLaboklab(60.65% 0.1673 -0.1283)
OKLCHoklch(60.65% 0.211 322.5)
XYZxyz(33.2918, 19.4702, 57.8702)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49CA #59CA49
analogous
#7A49CA #BA49CA #CA499A
triadic
#BA49CA #CABA49 #49CABA
tetradic
#BA49CA #CA7A49 #59CA49 #499ACA
square
#BA49CA #CA7A49 #59CA49 #499ACA
split-complementary
#BA49CA #9ACA49 #49CA7A
monochromatic
#6C2276 #9730A6 #BA49CA #CC78D8 #DEA8E6

Accessibility & contrast

On white

4.29
#BA49CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#BA49CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49CA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49CA#FFFFFF#000000##000000
##BA49CA1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CE
Deuteranopia (green-blind)
#5A7EC7
Tritanopia (blue-blind)
#BC5D83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba49ca;
/* rgb */ color: rgb(186, 73, 202);
/* oklch */ color: oklch(60.7% 0.211 322.5);
Tailwind
colors: {
  custom: {
    50: '#d283db',
    500: '#ba49ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba49ca;
$custom-light: #d283db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49ca",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 292.558,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60652,
    "c": 0.21084,
    "h": 322.5
  },
  "luminance": 0.19468
}

Semantic roles & 50–950 ramp

primary
#BA49CA
secondary
#A3D39C
accent
#DE4A5C
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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