#BA49D0#BA49D0

#BA49D0 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.0% C 0.216 H 320.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA49D0
RGBrgb(186, 73, 208)
HSLhsl(290, 59%, 55%)
HSVhsv(290, 65%, 82%)
CMYKcmyk(10.6%, 64.9%, 0%, 18.4%)
CIE-LABlab(51.56, 63.77, -49.00)
CIE-LCHlch(51.56, 80.42, 322.46°)
OKLaboklab(61% 0.1674 -0.1368)
OKLCHoklch(61% 0.216 320.7)
XYZxyz(34.0161, 19.7599, 61.6846)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49D0 #5FD049
analogous
#7649D0 #BA49D0 #D049A3
triadic
#BA49D0 #D0BA49 #49D0BA
tetradic
#BA49D0 #D07649 #5FD049 #49A3D0
square
#BA49D0 #D07649 #5FD049 #49A3D0
split-complementary
#BA49D0 #A3D049 #49D076
monochromatic
#6F217E #9A2DAF #BA49D0 #CC7ADD #DFAAE9

Accessibility & contrast

On white

4.24
#BA49D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#BA49D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49D0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49D0#FFFFFF#000000##000000
##BA49D01.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2273D4
Deuteranopia (green-blind)
#567FCD
Tritanopia (blue-blind)
#BB6086
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba49d0;
/* rgb */ color: rgb(186, 73, 208);
/* oklch */ color: oklch(61.0% 0.216 320.7);
Tailwind
colors: {
  custom: {
    50: '#d284df',
    500: '#ba49d0',
    950: '#000000',
  },
}
SCSS
$custom: #ba49d0;
$custom-light: #d284df;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49d0",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 208
  },
  "hsl": {
    "h": 290.222,
    "s": 58.952,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60999,
    "c": 0.21614,
    "h": 320.7
  },
  "luminance": 0.19758
}

Semantic roles & 50–950 ramp

primary
#BA49D0
secondary
#A7D79E
accent
#E2465F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA49D0

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

Preview Lab → · Contrast checker → · Palette generator →

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