#BA3DC2#BA3DC2

#BA3DC2 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.219 H 325.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA3DC2
RGBrgb(186, 61, 194)
HSLhsl(296, 52%, 50%)
HSVhsv(296, 69%, 76%)
CMYKcmyk(4.1%, 68.6%, 0%, 23.9%)
CIE-LABlab(49.10, 65.99, -44.86)
CIE-LCHlch(49.10, 79.79, 325.79°)
OKLaboklab(58.97% 0.1803 -0.1246)
OKLCHoklch(58.97% 0.219 325.3)
XYZxyz(31.6553, 17.6736, 52.7725)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DC2 #45C23D
analogous
#783DC2 #BA3DC2 #C23D87
triadic
#BA3DC2 #C2BA3D #3DC2BA
tetradic
#BA3DC2 #C2783D #45C23D #3D87C2
square
#BA3DC2 #C2783D #45C23D #3D87C2
split-complementary
#BA3DC2 #87C23D #3DC278
monochromatic
#612065 #8D2E93 #BA3DC2 #CB6CD1 #DB9ADF

Accessibility & contrast

On white

4.63
#BA3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3DC2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DC2#FFFFFF#000000##FFFFFF
##BA3DC21.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6BC6
Deuteranopia (green-blind)
#587ABF
Tritanopia (blue-blind)
#BE527B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3dc2;
/* rgb */ color: rgb(186, 61, 194);
/* oklch */ color: oklch(59.0% 0.219 325.3);
Tailwind
colors: {
  custom: {
    50: '#d27dd5',
    500: '#ba3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #ba3dc2;
$custom-light: #d27dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3dc2",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 296.391,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.58972,
    "c": 0.2192,
    "h": 325.3
  },
  "luminance": 0.17672
}

Semantic roles & 50–950 ramp

primary
#BA3DC2
secondary
#93CB90
accent
#DC4C55
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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