#BA3FC1#BA3FC1

#BA3FC1 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.1% C 0.216 H 325.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA3FC1
RGBrgb(186, 63, 193)
HSLhsl(297, 51%, 50%)
HSVhsv(297, 67%, 76%)
CMYKcmyk(3.6%, 67.4%, 0%, 24.3%)
CIE-LABlab(49.31, 65.07, -43.95)
CIE-LCHlch(49.31, 78.52, 325.96°)
OKLaboklab(59.11% 0.1782 -0.122)
OKLCHoklch(59.11% 0.216 325.6)
XYZxyz(31.6522, 17.8464, 52.2193)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FC1 #46C13F
analogous
#793FC1 #BA3FC1 #C13F87
triadic
#BA3FC1 #C1BA3F #3FC1BA
tetradic
#BA3FC1 #C1793F #46C13F #3F87C1
square
#BA3FC1 #C1793F #46C13F #3F87C1
split-complementary
#BA3FC1 #87C13F #3FC179
monochromatic
#612165 #8E3093 #BA3FC1 #CB6DD0 #DB9CDF

Accessibility & contrast

On white

4.60
#BA3FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BA3FC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3FC1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FC1#FFFFFF#000000##FFFFFF
##BA3FC11.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246BC5
Deuteranopia (green-blind)
#5A7ABE
Tritanopia (blue-blind)
#BE537B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3fc1;
/* rgb */ color: rgb(186, 63, 193);
/* oklch */ color: oklch(59.1% 0.216 325.6);
Tailwind
colors: {
  custom: {
    50: '#d27ed4',
    500: '#ba3fc1',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fc1;
$custom-light: #d27ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fc1",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 193
  },
  "hsl": {
    "h": 296.769,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59107,
    "c": 0.21598,
    "h": 325.6
  },
  "luminance": 0.17844
}

Semantic roles & 50–950 ramp

primary
#BA3FC1
secondary
#94CB91
accent
#DB4D55
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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