#BA2DAE#BA2DAE

#BA2DAE is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.221 H 331.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA2DAE
RGBrgb(186, 45, 174)
HSLhsl(305, 61%, 45%)
HSVhsv(305, 76%, 73%)
CMYKcmyk(0%, 75.8%, 6.5%, 27.1%)
CIE-LABlab(46.14, 68.08, -37.85)
CIE-LCHlch(46.14, 77.90, 330.93°)
OKLaboklab(56.51% 0.1952 -0.1042)
OKLCHoklch(56.51% 0.221 331.9)
XYZxyz(28.8281, 15.3743, 41.4854)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2DAE #2DBA39
analogous
#7F2DBA #BA2DAE #BA2D68
triadic
#BA2DAE #AEBA2D #2DAEBA
tetradic
#BA2DAE #BA7F2D #2DBA39 #2D68BA
square
#BA2DAE #BA7F2D #2DBA39 #2D68BA
split-complementary
#BA2DAE #68BA2D #2DBA7F
monochromatic
#571552 #892180 #BA2DAE #D550C9 #E081D8

Accessibility & contrast

On white

5.15
#BA2DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BA2DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2DAE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2DAE#FFFFFF#000000##FFFFFF
##BA2DAE1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B1
Deuteranopia (green-blind)
#5C74AB
Tritanopia (blue-blind)
#C23E6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba2dae;
/* rgb */ color: rgb(186, 45, 174);
/* oklch */ color: oklch(56.5% 0.221 331.9);
Tailwind
colors: {
  custom: {
    50: '#d376c6',
    500: '#ba2dae',
    950: '#000000',
  },
}
SCSS
$custom: #ba2dae;
$custom-light: #d376c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2dae",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 305.106,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56505,
    "c": 0.22128,
    "h": 331.9
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#BA2DAE
secondary
#79C980
accent
#E45144
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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