#BA1DAE#BA1DAE

#BA1DAE is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.5% C 0.234 H 331.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA1DAE
RGBrgb(186, 29, 174)
HSLhsl(305, 73%, 42%)
HSVhsv(305, 84%, 73%)
CMYKcmyk(0%, 84.4%, 6.5%, 27.1%)
CIE-LABlab(44.77, 72.06, -40.03)
CIE-LCHlch(44.77, 82.43, 330.95°)
OKLaboklab(55.52% 0.2068 -0.1104)
OKLCHoklch(55.52% 0.234 331.9)
XYZxyz(28.3291, 14.3763, 41.3191)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA1DAE #1DBA29
analogous
#781DBA #BA1DAE #BA1D60
triadic
#BA1DAE #AEBA1D #1DAEBA
tetradic
#BA1DAE #BA781D #1DBA29 #1D60BA
square
#BA1DAE #BA781D #1DBA29 #1D60BA
split-complementary
#BA1DAE #60BA1D #1DBA78
monochromatic
#500C4B #85157C #BA1DAE #DF35D2 #E86ADE

Accessibility & contrast

On white

5.42
#BA1DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA1DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA1DAE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA1DAE#FFFFFF#000000##FFFFFF
##BA1DAE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035CB2
Deuteranopia (green-blind)
#5771AB
Tritanopia (blue-blind)
#C23568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba1dae;
/* rgb */ color: rgb(186, 29, 174);
/* oklch */ color: oklch(55.5% 0.234 331.9);
Tailwind
colors: {
  custom: {
    50: '#d370c7',
    500: '#ba1dae',
    950: '#000000',
  },
}
SCSS
$custom: #ba1dae;
$custom-light: #d370c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba1dae",
  "rgb": {
    "r": 186,
    "g": 29,
    "b": 174
  },
  "hsl": {
    "h": 304.586,
    "s": 73.023,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55524,
    "c": 0.23441,
    "h": 331.9
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#BA1DAE
secondary
#65CD6D
accent
#F04638
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BA1DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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