#BA3BC3#BA3BC3

#BA3BC3 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.222 H 325.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA3BC3
RGBrgb(186, 59, 195)
HSLhsl(296, 54%, 50%)
HSVhsv(296, 70%, 76%)
CMYKcmyk(4.6%, 69.7%, 0%, 23.5%)
CIE-LABlab(48.90, 66.89, -45.76)
CIE-LCHlch(48.90, 81.05, 325.62°)
OKLaboklab(58.85% 0.1823 -0.1273)
OKLCHoklch(58.85% 0.222 325.1)
XYZxyz(31.6632, 17.5092, 53.3310)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BC3 #44C33B
analogous
#763BC3 #BA3BC3 #C33B88
triadic
#BA3BC3 #C3BA3B #3BC3BA
tetradic
#BA3BC3 #C3763B #44C33B #3B88C3
square
#BA3BC3 #C3763B #44C33B #3B88C3
split-complementary
#BA3BC3 #88C33B #3BC376
monochromatic
#601F65 #8D2D94 #BA3BC3 #CB69D2 #DB98E0

Accessibility & contrast

On white

4.67
#BA3BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BA3BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BC3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BC3#FFFFFF#000000##FFFFFF
##BA3BC31.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186AC7
Deuteranopia (green-blind)
#5679C0
Tritanopia (blue-blind)
#BE517B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3bc3;
/* rgb */ color: rgb(186, 59, 195);
/* oklch */ color: oklch(58.8% 0.222 325.1);
Tailwind
colors: {
  custom: {
    50: '#d27cd6',
    500: '#ba3bc3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bc3;
$custom-light: #d27cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bc3",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 296.029,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58845,
    "c": 0.22235,
    "h": 325.1
  },
  "luminance": 0.17507
}

Semantic roles & 50–950 ramp

primary
#BA3BC3
secondary
#92CC8E
accent
#DD4B55
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA3BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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