#BA49AF#BA49AF

#BA49AF is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.2% C 0.188 H 331.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA49AF
RGBrgb(186, 73, 175)
HSLhsl(306, 45%, 51%)
HSVhsv(306, 61%, 73%)
CMYKcmyk(0%, 60.8%, 5.9%, 27.1%)
CIE-LABlab(49.86, 57.95, -32.59)
CIE-LCHlch(49.86, 66.48, 330.65°)
OKLaboklab(59.21% 0.1655 -0.0893)
OKLCHoklch(59.21% 0.188 331.7)
XYZxyz(30.3700, 18.3015, 42.4821)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49AF #49BA54
analogous
#8C49BA #BA49AF #BA4976
triadic
#BA49AF #AFBA49 #49AFBA
tetradic
#BA49AF #BA8C49 #49BA54 #4976BA
square
#BA49AF #BA8C49 #49BA54 #4976BA
split-complementary
#BA49AF #76BA49 #49BA8C
monochromatic
#63265D #8F3687 #BA49AF #CB75C3 #DCA2D6

Accessibility & contrast

On white

4.51
#BA49AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#BA49AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49AF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49AF#FFFFFF#000000##000000
##BA49AF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#446CB2
Deuteranopia (green-blind)
#697CAC
Tritanopia (blue-blind)
#C15375
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba49af;
/* rgb */ color: rgb(186, 73, 175);
/* oklch */ color: oklch(59.2% 0.188 331.7);
Tailwind
colors: {
  custom: {
    50: '#d283c7',
    500: '#ba49af',
    950: '#000000',
  },
}
SCSS
$custom: #ba49af;
$custom-light: #d283c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49af",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 305.841,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59209,
    "c": 0.18801,
    "h": 331.7
  },
  "luminance": 0.18299
}

Semantic roles & 50–950 ramp

primary
#BA49AF
secondary
#96C89B
accent
#D56053
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA49AF

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

Preview Lab → · Contrast checker → · Palette generator →

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