#BA3DC5#BA3DC5

#BA3DC5 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.1% C 0.222 H 324.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA3DC5
RGBrgb(186, 61, 197)
HSLhsl(295, 54%, 51%)
HSVhsv(295, 69%, 77%)
CMYKcmyk(5.6%, 69%, 0%, 22.7%)
CIE-LABlab(49.26, 66.51, -46.33)
CIE-LCHlch(49.26, 81.06, 325.14°)
OKLaboklab(59.15% 0.1803 -0.1289)
OKLCHoklch(59.15% 0.222 324.4)
XYZxyz(31.9957, 17.8098, 54.5649)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DC5 #48C53D
analogous
#763DC5 #BA3DC5 #C53D8C
triadic
#BA3DC5 #C5BA3D #3DC5BA
tetradic
#BA3DC5 #C5763D #48C53D #3D8CC5
square
#BA3DC5 #C5763D #48C53D #3D8CC5
split-complementary
#BA3DC5 #8CC53D #3DC576
monochromatic
#621F68 #8F2D98 #BA3DC5 #CB6CD3 #DC9BE1

Accessibility & contrast

On white

4.60
#BA3DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BA3DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3DC5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DC5#FFFFFF#000000##FFFFFF
##BA3DC51.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196BC9
Deuteranopia (green-blind)
#567AC2
Tritanopia (blue-blind)
#BE537D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3dc5;
/* rgb */ color: rgb(186, 61, 197);
/* oklch */ color: oklch(59.1% 0.222 324.4);
Tailwind
colors: {
  custom: {
    50: '#d27dd7',
    500: '#ba3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3dc5;
$custom-light: #d27dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3dc5",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 295.147,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59146,
    "c": 0.22166,
    "h": 324.4
  },
  "luminance": 0.17808
}

Semantic roles & 50–950 ramp

primary
#BA3DC5
secondary
#96CD91
accent
#DD4A56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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