#BA3DC1#BA3DC1

#BA3DC1 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.218 H 325.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BA3DC1
RGBrgb(186, 61, 193)
HSLhsl(297, 52%, 50%)
HSVhsv(297, 68%, 76%)
CMYKcmyk(3.6%, 68.4%, 0%, 24.3%)
CIE-LABlab(49.04, 65.82, -44.37)
CIE-LCHlch(49.04, 79.38, 326.01°)
OKLaboklab(58.91% 0.1803 -0.1232)
OKLCHoklch(58.91% 0.218 325.7)
XYZxyz(31.5434, 17.6289, 52.1830)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DC1 #44C13D
analogous
#783DC1 #BA3DC1 #C13D86
triadic
#BA3DC1 #C1BA3D #3DC1BA
tetradic
#BA3DC1 #C1783D #44C13D #3D86C1
square
#BA3DC1 #C1783D #44C13D #3D86C1
split-complementary
#BA3DC1 #86C13D #3DC178
monochromatic
#602064 #8D2E92 #BA3DC1 #CB6BD0 #DB99DF

Accessibility & contrast

On white

4.64
#BA3DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BA3DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3DC1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DC1#FFFFFF#000000##FFFFFF
##BA3DC11.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206BC5
Deuteranopia (green-blind)
#597ABE
Tritanopia (blue-blind)
#BE527B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3dc1;
/* rgb */ color: rgb(186, 61, 193);
/* oklch */ color: oklch(58.9% 0.218 325.7);
Tailwind
colors: {
  custom: {
    50: '#d27dd4',
    500: '#ba3dc1',
    950: '#000000',
  },
}
SCSS
$custom: #ba3dc1;
$custom-light: #d27dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3dc1",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 296.818,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58915,
    "c": 0.21839,
    "h": 325.7
  },
  "luminance": 0.17627
}

Semantic roles & 50–950 ramp

primary
#BA3DC1
secondary
#92CB8F
accent
#DB4C54
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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