#BA3DC6#BA3DC6

#BA3DC6 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.222 H 324.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA3DC6
RGBrgb(186, 61, 198)
HSLhsl(295, 55%, 51%)
HSVhsv(295, 69%, 78%)
CMYKcmyk(6.1%, 69.2%, 0%, 22.4%)
CIE-LABlab(49.32, 66.68, -46.82)
CIE-LCHlch(49.32, 81.48, 324.92°)
OKLaboklab(59.2% 0.1803 -0.1303)
OKLCHoklch(59.2% 0.222 324.1)
XYZxyz(32.1106, 17.8558, 55.1703)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DC6 #49C63D
analogous
#763DC6 #BA3DC6 #C63D8D
triadic
#BA3DC6 #C6BA3D #3DC6BA
tetradic
#BA3DC6 #C6763D #49C63D #3D8DC6
square
#BA3DC6 #C6763D #49C63D #3D8DC6
split-complementary
#BA3DC6 #8DC63D #3DC676
monochromatic
#631F6A #8F2D99 #BA3DC6 #CB6CD4 #DC9CE2

Accessibility & contrast

On white

4.59
#BA3DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BA3DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3DC6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DC6#FFFFFF#000000##FFFFFF
##BA3DC61.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166CCA
Deuteranopia (green-blind)
#557AC3
Tritanopia (blue-blind)
#BE547D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3dc6;
/* rgb */ color: rgb(186, 61, 198);
/* oklch */ color: oklch(59.2% 0.222 324.1);
Tailwind
colors: {
  custom: {
    50: '#d27dd8',
    500: '#ba3dc6',
    950: '#000000',
  },
}
SCSS
$custom: #ba3dc6;
$custom-light: #d27dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3dc6",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 294.745,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59204,
    "c": 0.22247,
    "h": 324.1
  },
  "luminance": 0.17854
}

Semantic roles & 50–950 ramp

primary
#BA3DC6
secondary
#96CE91
accent
#DE4A57
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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