#BA3BC5#BA3BC5

#BA3BC5 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.0% C 0.224 H 324.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA3BC5
RGBrgb(186, 59, 197)
HSLhsl(295, 54%, 50%)
HSVhsv(295, 70%, 77%)
CMYKcmyk(5.6%, 70.1%, 0%, 22.7%)
CIE-LABlab(49.01, 67.23, -46.74)
CIE-LCHlch(49.01, 81.89, 325.19°)
OKLaboklab(58.96% 0.1823 -0.1301)
OKLCHoklch(58.96% 0.224 324.5)
XYZxyz(31.8909, 17.6002, 54.5299)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BC5 #46C53B
analogous
#753BC5 #BA3BC5 #C53B8B
triadic
#BA3BC5 #C5BA3B #3BC5BA
tetradic
#BA3BC5 #C5753B #46C53B #3B8BC5
square
#BA3BC5 #C5753B #46C53B #3B8BC5
split-complementary
#BA3BC5 #8BC53B #3BC575
monochromatic
#611F67 #8E2C96 #BA3BC5 #CB6AD3 #DB99E1

Accessibility & contrast

On white

4.65
#BA3BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BA3BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BC5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BC5#FFFFFF#000000##FFFFFF
##BA3BC51.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136BC9
Deuteranopia (green-blind)
#557AC2
Tritanopia (blue-blind)
#BE527C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3bc5;
/* rgb */ color: rgb(186, 59, 197);
/* oklch */ color: oklch(59.0% 0.224 324.5);
Tailwind
colors: {
  custom: {
    50: '#d27cd7',
    500: '#ba3bc5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bc5;
$custom-light: #d27cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bc5",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 295.217,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58962,
    "c": 0.22397,
    "h": 324.5
  },
  "luminance": 0.17598
}

Semantic roles & 50–950 ramp

primary
#BA3BC5
secondary
#94CD8F
accent
#DE4A56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA3BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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