#BA3BC1#BA3BC1

#BA3BC1 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.221 H 325.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA3BC1
RGBrgb(186, 59, 193)
HSLhsl(297, 53%, 49%)
HSVhsv(297, 69%, 76%)
CMYKcmyk(3.6%, 69.4%, 0%, 24.3%)
CIE-LABlab(48.78, 66.55, -44.78)
CIE-LCHlch(48.78, 80.21, 326.06°)
OKLaboklab(58.73% 0.1824 -0.1244)
OKLCHoklch(58.73% 0.221 325.7)
XYZxyz(31.4386, 17.4193, 52.1481)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BC1 #42C13B
analogous
#773BC1 #BA3BC1 #C13B85
triadic
#BA3BC1 #C1BA3B #3BC1BA
tetradic
#BA3BC1 #C1773B #42C13B #3B85C1
square
#BA3BC1 #C1773B #42C13B #3B85C1
split-complementary
#BA3BC1 #85C13B #3BC177
monochromatic
#601E63 #8D2D92 #BA3BC1 #CB68D1 #DB97DF

Accessibility & contrast

On white

4.68
#BA3BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BA3BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BC1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BC1#FFFFFF#000000##FFFFFF
##BA3BC11.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6AC5
Deuteranopia (green-blind)
#5779BE
Tritanopia (blue-blind)
#BE507A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3bc1;
/* rgb */ color: rgb(186, 59, 193);
/* oklch */ color: oklch(58.7% 0.221 325.7);
Tailwind
colors: {
  custom: {
    50: '#d27cd4',
    500: '#ba3bc1',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bc1;
$custom-light: #d27cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bc1",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 296.866,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58729,
    "c": 0.22074,
    "h": 325.7
  },
  "luminance": 0.17417
}

Semantic roles & 50–950 ramp

primary
#BA3BC1
secondary
#90CB8D
accent
#DD4B53
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA3BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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