#BA3EC1#BA3EC1

#BA3EC1 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.217 H 325.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA3EC1
RGBrgb(186, 62, 193)
HSLhsl(297, 51%, 50%)
HSVhsv(297, 68%, 76%)
CMYKcmyk(3.6%, 67.9%, 0%, 24.3%)
CIE-LABlab(49.18, 65.44, -44.16)
CIE-LCHlch(49.18, 78.95, 325.99°)
OKLaboklab(59.01% 0.1793 -0.1226)
OKLCHoklch(59.01% 0.217 325.6)
XYZxyz(31.5973, 17.7366, 52.2010)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EC1 #45C13E
analogous
#793EC1 #BA3EC1 #C13E86
triadic
#BA3EC1 #C1BA3E #3EC1BA
tetradic
#BA3EC1 #C1793E #45C13E #3E86C1
square
#BA3EC1 #C1793E #45C13E #3E86C1
split-complementary
#BA3EC1 #86C13E #3EC179
monochromatic
#612064 #8D2F93 #BA3EC1 #CB6CD0 #DB9BDF

Accessibility & contrast

On white

4.62
#BA3EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#BA3EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3EC1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EC1#FFFFFF#000000##FFFFFF
##BA3EC11.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226BC5
Deuteranopia (green-blind)
#597ABE
Tritanopia (blue-blind)
#BE527B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3ec1;
/* rgb */ color: rgb(186, 62, 193);
/* oklch */ color: oklch(59.0% 0.217 325.6);
Tailwind
colors: {
  custom: {
    50: '#d27ed4',
    500: '#ba3ec1',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ec1;
$custom-light: #d27ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ec1",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 296.794,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.5901,
    "c": 0.21719,
    "h": 325.6
  },
  "luminance": 0.17735
}

Semantic roles & 50–950 ramp

primary
#BA3EC1
secondary
#93CB90
accent
#DB4D55
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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