#BA49B4#BA49B4

#BA49B4 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.5% C 0.192 H 329.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA49B4
RGBrgb(186, 73, 180)
HSLhsl(303, 45%, 51%)
HSVhsv(303, 61%, 73%)
CMYKcmyk(0%, 60.8%, 3.2%, 27.1%)
CIE-LABlab(50.10, 58.78, -35.14)
CIE-LCHlch(50.10, 68.49, 329.13°)
OKLaboklab(59.46% 0.166 -0.0966)
OKLCHoklch(59.46% 0.192 329.8)
XYZxyz(30.8702, 18.5016, 45.1164)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49B4 #49BA4F
analogous
#8749BA #BA49B4 #BA497B
triadic
#BA49B4 #B4BA49 #49B4BA
tetradic
#BA49B4 #BA8749 #49BA4F #497BBA
square
#BA49B4 #BA8749 #49BA4F #497BBA
split-complementary
#BA49B4 #7BBA49 #49BA87
monochromatic
#632660 #8F368B #BA49B4 #CB75C6 #DCA2D9

Accessibility & contrast

On white

4.47
#BA49B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BA49B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49B4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49B4#FFFFFF#000000##000000
##BA49B41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#406DB7
Deuteranopia (green-blind)
#667DB1
Tritanopia (blue-blind)
#C05578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba49b4;
/* rgb */ color: rgb(186, 73, 180);
/* oklch */ color: oklch(59.5% 0.192 329.8);
Tailwind
colors: {
  custom: {
    50: '#d283cb',
    500: '#ba49b4',
    950: '#000000',
  },
}
SCSS
$custom: #ba49b4;
$custom-light: #d283cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49b4",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 180
  },
  "hsl": {
    "h": 303.186,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.19208,
    "h": 329.8
  },
  "luminance": 0.18499
}

Semantic roles & 50–950 ramp

primary
#BA49B4
secondary
#96C899
accent
#D55A53
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA49B4

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

Preview Lab → · Contrast checker → · Palette generator →

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