#BA49CD#BA49CD

#BA49CD is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.213 H 321.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA49CD
RGBrgb(186, 73, 205)
HSLhsl(291, 57%, 55%)
HSVhsv(291, 64%, 80%)
CMYKcmyk(9.3%, 64.4%, 0%, 19.6%)
CIE-LABlab(51.40, 63.21, -47.55)
CIE-LCHlch(51.40, 79.09, 323.05°)
OKLaboklab(60.82% 0.1674 -0.1325)
OKLCHoklch(60.82% 0.213 321.6)
XYZxyz(33.6505, 19.6137, 59.7591)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49CD #5CCD49
analogous
#7849CD #BA49CD #CD499E
triadic
#BA49CD #CDBA49 #49CDBA
tetradic
#BA49CD #CD7849 #5CCD49 #499ECD
square
#BA49CD #CD7849 #5CCD49 #499ECD
split-complementary
#BA49CD #9ECD49 #49CD78
monochromatic
#6D227A #982FAA #BA49CD #CC79DA #DEA9E7

Accessibility & contrast

On white

4.27
#BA49CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BA49CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49CD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49CD#FFFFFF#000000##000000
##BA49CD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2772D1
Deuteranopia (green-blind)
#587FCA
Tritanopia (blue-blind)
#BC5F85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba49cd;
/* rgb */ color: rgb(186, 73, 205);
/* oklch */ color: oklch(60.8% 0.213 321.6);
Tailwind
colors: {
  custom: {
    50: '#d284dd',
    500: '#ba49cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba49cd;
$custom-light: #d284dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49cd",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 291.364,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60824,
    "c": 0.21349,
    "h": 321.6
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#BA49CD
secondary
#A5D59D
accent
#E0485E
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA49CD

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

Preview Lab → · Contrast checker → · Palette generator →

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