#BA3DAF#BA3DAF

#BA3DAF is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.204 H 331.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BA3DAF
RGBrgb(186, 61, 175)
HSLhsl(305, 51%, 48%)
HSVhsv(305, 67%, 73%)
CMYKcmyk(0%, 67.2%, 5.9%, 27.1%)
CIE-LABlab(48.10, 62.83, -35.35)
CIE-LCHlch(48.10, 72.09, 330.64°)
OKLaboklab(57.93% 0.1796 -0.0971)
OKLCHoklch(57.93% 0.204 331.6)
XYZxyz(29.6563, 16.8740, 42.2442)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DAF #3DBA48
analogous
#863DBA #BA3DAF #BA3D70
triadic
#BA3DAF #AFBA3D #3DAFBA
tetradic
#BA3DAF #BA863D #3DBA48 #3D70BA
square
#BA3DAF #BA863D #3DBA48 #3D70BA
split-complementary
#BA3DAF #70BA3D #3DBA86
monochromatic
#5E1F58 #8C2E84 #BA3DAF #CD67C4 #DC95D6

Accessibility & contrast

On white

4.80
#BA3DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3DAF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DAF#FFFFFF#000000##FFFFFF
##BA3DAF1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#6278AC
Tritanopia (blue-blind)
#C14A71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3daf;
/* rgb */ color: rgb(186, 61, 175);
/* oklch */ color: oklch(57.9% 0.204 331.6);
Tailwind
colors: {
  custom: {
    50: '#d27dc7',
    500: '#ba3daf',
    950: '#000000',
  },
}
SCSS
$custom: #ba3daf;
$custom-light: #d27dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3daf",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 305.28,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57931,
    "c": 0.20416,
    "h": 331.6
  },
  "luminance": 0.16872
}

Semantic roles & 50–950 ramp

primary
#BA3DAF
secondary
#8BC890
accent
#DA5A4E
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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