#BA49B1#BA49B1

#BA49B1 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.3% C 0.190 H 330.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA49B1
RGBrgb(186, 73, 177)
HSLhsl(305, 45%, 51%)
HSVhsv(305, 61%, 73%)
CMYKcmyk(0%, 60.8%, 4.8%, 27.1%)
CIE-LABlab(49.95, 58.28, -33.61)
CIE-LCHlch(49.95, 67.28, 330.03°)
OKLaboklab(59.31% 0.1657 -0.0922)
OKLCHoklch(59.31% 0.19 330.9)
XYZxyz(30.5679, 18.3807, 43.5243)
Luminance0.1838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49B1 #49BA52
analogous
#8A49BA #BA49B1 #BA4978
triadic
#BA49B1 #B1BA49 #49B1BA
tetradic
#BA49B1 #BA8A49 #49BA52 #4978BA
square
#BA49B1 #BA8A49 #49BA52 #4978BA
split-complementary
#BA49B1 #78BA49 #49BA8A
monochromatic
#63265E #8F3688 #BA49B1 #CB75C4 #DCA2D7

Accessibility & contrast

On white

4.49
#BA49B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BA49B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49B1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49B1#FFFFFF#000000##000000
##BA49B11.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#426DB4
Deuteranopia (green-blind)
#687CAE
Tritanopia (blue-blind)
#C15476
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba49b1;
/* rgb */ color: rgb(186, 73, 177);
/* oklch */ color: oklch(59.3% 0.190 330.9);
Tailwind
colors: {
  custom: {
    50: '#d283c8',
    500: '#ba49b1',
    950: '#000000',
  },
}
SCSS
$custom: #ba49b1;
$custom-light: #d283c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49b1",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 177
  },
  "hsl": {
    "h": 304.779,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59309,
    "c": 0.18963,
    "h": 330.9
  },
  "luminance": 0.18379
}

Semantic roles & 50–950 ramp

primary
#BA49B1
secondary
#96C89A
accent
#D55D53
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA49B1

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

Preview Lab → · Contrast checker → · Palette generator →

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