#BA49AD#BA49AD

#BA49AD is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.1% C 0.186 H 332.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BA49AD
RGBrgb(186, 73, 173)
HSLhsl(307, 45%, 51%)
HSVhsv(307, 61%, 73%)
CMYKcmyk(0%, 60.8%, 7%, 27.1%)
CIE-LABlab(49.77, 57.62, -31.57)
CIE-LCHlch(49.77, 65.70, 331.28°)
OKLaboklab(59.11% 0.1652 -0.0863)
OKLCHoklch(59.11% 0.186 332.4)
XYZxyz(30.1751, 18.2235, 41.4553)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49AD #49BA56
analogous
#8E49BA #BA49AD #BA4974
triadic
#BA49AD #ADBA49 #49ADBA
tetradic
#BA49AD #BA8E49 #49BA56 #4974BA
square
#BA49AD #BA8E49 #49BA56 #4974BA
split-complementary
#BA49AD #74BA49 #49BA8E
monochromatic
#63265C #8F3685 #BA49AD #CB75C1 #DCA2D5

Accessibility & contrast

On white

4.52
#BA49AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#BA49AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49AD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49AD#FFFFFF#000000##000000
##BA49AD1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#456CB0
Deuteranopia (green-blind)
#697CAA
Tritanopia (blue-blind)
#C25274
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba49ad;
/* rgb */ color: rgb(186, 73, 173);
/* oklch */ color: oklch(59.1% 0.186 332.4);
Tailwind
colors: {
  custom: {
    50: '#d283c6',
    500: '#ba49ad',
    950: '#000000',
  },
}
SCSS
$custom: #ba49ad;
$custom-light: #d283c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49ad",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 173
  },
  "hsl": {
    "h": 306.903,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5911,
    "c": 0.18641,
    "h": 332.4
  },
  "luminance": 0.18221
}

Semantic roles & 50–950 ramp

primary
#BA49AD
secondary
#96C89C
accent
#D56253
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA49AD

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

Preview Lab → · Contrast checker → · Palette generator →

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