#BA3DAE#BA3DAE

#BA3DAE is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.9% C 0.203 H 332.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BA3DAE
RGBrgb(186, 61, 174)
HSLhsl(306, 51%, 48%)
HSVhsv(306, 67%, 73%)
CMYKcmyk(0%, 67.2%, 6.5%, 27.1%)
CIE-LABlab(48.05, 62.67, -34.84)
CIE-LCHlch(48.05, 71.70, 330.93°)
OKLaboklab(57.88% 0.1795 -0.0956)
OKLCHoklch(57.88% 0.203 332)
XYZxyz(29.5584, 16.8349, 41.7288)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DAE #3DBA49
analogous
#873DBA #BA3DAE #BA3D6F
triadic
#BA3DAE #AEBA3D #3DAEBA
tetradic
#BA3DAE #BA873D #3DBA49 #3D6FBA
square
#BA3DAE #BA873D #3DBA49 #3D6FBA
split-complementary
#BA3DAE #6FBA3D #3DBA87
monochromatic
#5E1F58 #8C2E83 #BA3DAE #CD67C3 #DC95D5

Accessibility & contrast

On white

4.81
#BA3DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BA3DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3DAE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DAE#FFFFFF#000000##FFFFFF
##BA3DAE1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B1
Deuteranopia (green-blind)
#6378AB
Tritanopia (blue-blind)
#C24970
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3dae;
/* rgb */ color: rgb(186, 61, 174);
/* oklch */ color: oklch(57.9% 0.203 332.0);
Tailwind
colors: {
  custom: {
    50: '#d27dc6',
    500: '#ba3dae',
    950: '#000000',
  },
}
SCSS
$custom: #ba3dae;
$custom-light: #d27dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3dae",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 174
  },
  "hsl": {
    "h": 305.76,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57879,
    "c": 0.20339,
    "h": 332
  },
  "luminance": 0.16833
}

Semantic roles & 50–950 ramp

primary
#BA3DAE
secondary
#8BC891
accent
#DA5B4E
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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