#BA3DAC#BA3DAC

#BA3DAC is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.8% C 0.202 H 332.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA3DAC
RGBrgb(186, 61, 172)
HSLhsl(307, 51%, 48%)
HSVhsv(307, 67%, 73%)
CMYKcmyk(0%, 67.2%, 7.5%, 27.1%)
CIE-LABlab(47.95, 62.35, -33.82)
CIE-LCHlch(47.95, 70.93, 331.53°)
OKLaboklab(57.78% 0.1793 -0.0927)
OKLCHoklch(57.78% 0.202 332.7)
XYZxyz(29.3649, 16.7575, 40.7096)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DAC #3DBA4B
analogous
#893DBA #BA3DAC #BA3D6D
triadic
#BA3DAC #ACBA3D #3DACBA
tetradic
#BA3DAC #BA893D #3DBA4B #3D6DBA
square
#BA3DAC #BA893D #3DBA4B #3D6DBA
split-complementary
#BA3DAC #6DBA3D #3DBA89
monochromatic
#5E1F57 #8C2E81 #BA3DAC #CD67C2 #DC95D4

Accessibility & contrast

On white

4.83
#BA3DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BA3DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3DAC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DAC#FFFFFF#000000##FFFFFF
##BA3DAC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3866AF
Deuteranopia (green-blind)
#6478A9
Tritanopia (blue-blind)
#C2496F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3dac;
/* rgb */ color: rgb(186, 61, 172);
/* oklch */ color: oklch(57.8% 0.202 332.7);
Tailwind
colors: {
  custom: {
    50: '#d27cc5',
    500: '#ba3dac',
    950: '#000000',
  },
}
SCSS
$custom: #ba3dac;
$custom-light: #d27cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3dac",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 172
  },
  "hsl": {
    "h": 306.72,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57776,
    "c": 0.20187,
    "h": 332.7
  },
  "luminance": 0.16755
}

Semantic roles & 50–950 ramp

primary
#BA3DAC
secondary
#8BC892
accent
#DA5D4E
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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