#BA49AE#BA49AE

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

Color values

HEX#BA49AE
RGBrgb(186, 73, 174)
HSLhsl(306, 45%, 51%)
HSVhsv(306, 61%, 73%)
CMYKcmyk(0%, 60.8%, 6.5%, 27.1%)
CIE-LABlab(49.81, 57.78, -32.08)
CIE-LCHlch(49.81, 66.09, 330.96°)
OKLaboklab(59.16% 0.1654 -0.0878)
OKLCHoklch(59.16% 0.187 332)
XYZxyz(30.2722, 18.2624, 41.9668)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49AE #49BA55
analogous
#8D49BA #BA49AE #BA4975
triadic
#BA49AE #AEBA49 #49AEBA
tetradic
#BA49AE #BA8D49 #49BA55 #4975BA
square
#BA49AE #BA8D49 #49BA55 #4975BA
split-complementary
#BA49AE #75BA49 #49BA8D
monochromatic
#63265D #8F3686 #BA49AE #CB75C2 #DCA2D5

Accessibility & contrast

On white

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

On black

4.65
#BA49AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49AE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49AE#FFFFFF#000000##000000
##BA49AE1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#446CB1
Deuteranopia (green-blind)
#697CAB
Tritanopia (blue-blind)
#C15375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba49ae;
/* rgb */ color: rgb(186, 73, 174);
/* oklch */ color: oklch(59.2% 0.187 332.0);
Tailwind
colors: {
  custom: {
    50: '#d283c6',
    500: '#ba49ae',
    950: '#000000',
  },
}
SCSS
$custom: #ba49ae;
$custom-light: #d283c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49ae",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 174
  },
  "hsl": {
    "h": 306.372,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5916,
    "c": 0.18722,
    "h": 332
  },
  "luminance": 0.1826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA49AE

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

Preview Lab → · Contrast checker → · Palette generator →

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