#BA3BC4#BA3BC4

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

Color values

HEX#BA3BC4
RGBrgb(186, 59, 196)
HSLhsl(296, 54%, 50%)
HSVhsv(296, 70%, 77%)
CMYKcmyk(5.1%, 69.9%, 0%, 23.1%)
CIE-LABlab(48.95, 67.06, -46.26)
CIE-LCHlch(48.95, 81.47, 325.40°)
OKLaboklab(58.9% 0.1823 -0.1287)
OKLCHoklch(58.9% 0.223 324.8)
XYZxyz(31.7767, 17.5545, 53.9285)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BC4 #45C43B
analogous
#753BC4 #BA3BC4 #C43B8A
triadic
#BA3BC4 #C4BA3B #3BC4BA
tetradic
#BA3BC4 #C4753B #45C43B #3B8AC4
square
#BA3BC4 #C4753B #45C43B #3B8AC4
split-complementary
#BA3BC4 #8AC43B #3BC475
monochromatic
#611F66 #8D2D95 #BA3BC4 #CB6AD2 #DB99E0

Accessibility & contrast

On white

4.66
#BA3BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA3BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BC4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BC4#FFFFFF#000000##FFFFFF
##BA3BC41.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156AC8
Deuteranopia (green-blind)
#567AC1
Tritanopia (blue-blind)
#BE527C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3bc4;
/* rgb */ color: rgb(186, 59, 196);
/* oklch */ color: oklch(58.9% 0.223 324.8);
Tailwind
colors: {
  custom: {
    50: '#d27cd6',
    500: '#ba3bc4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bc4;
$custom-light: #d27cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bc4",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 295.62,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.22316,
    "h": 324.8
  },
  "luminance": 0.17553
}

Semantic roles & 50–950 ramp

primary
#BA3BC4
secondary
#93CC8F
accent
#DD4B55
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA3BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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