#BA49D4#BA49D4

#BA49D4 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.2% C 0.220 H 319.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA49D4
RGBrgb(186, 73, 212)
HSLhsl(289, 62%, 56%)
HSVhsv(289, 66%, 83%)
CMYKcmyk(12.3%, 65.6%, 0%, 16.9%)
CIE-LABlab(51.79, 64.51, -50.92)
CIE-LCHlch(51.79, 82.19, 321.72°)
OKLaboklab(61.23% 0.1673 -0.1424)
OKLCHoklch(61.23% 0.22 319.6)
XYZxyz(34.5144, 19.9593, 64.3091)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49D4 #63D449
analogous
#7449D4 #BA49D4 #D449A8
triadic
#BA49D4 #D4BA49 #49D4BA
tetradic
#BA49D4 #D47449 #63D449 #49A8D4
square
#BA49D4 #D47449 #63D449 #49A8D4
split-complementary
#BA49D4 #A8D449 #49D474
monochromatic
#711F84 #9B2BB5 #BA49D4 #CD7BE0 #E0ACEB

Accessibility & contrast

On white

4.21
#BA49D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#BA49D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49D4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49D4#FFFFFF#000000##000000
##BA49D41.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A74D8
Deuteranopia (green-blind)
#547FD1
Tritanopia (blue-blind)
#BA6189
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba49d4;
/* rgb */ color: rgb(186, 73, 212);
/* oklch */ color: oklch(61.2% 0.220 319.6);
Tailwind
colors: {
  custom: {
    50: '#d284e2',
    500: '#ba49d4',
    950: '#000000',
  },
}
SCSS
$custom: #ba49d4;
$custom-light: #d284e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49d4",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 212
  },
  "hsl": {
    "h": 288.777,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61235,
    "c": 0.2197,
    "h": 319.6
  },
  "luminance": 0.19958
}

Semantic roles & 50–950 ramp

primary
#BA49D4
secondary
#AAD9A0
accent
#E54361
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA49D4

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

Preview Lab → · Contrast checker → · Palette generator →

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