#BA3FC0#BA3FC0

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

Color values

HEX#BA3FC0
RGBrgb(186, 63, 192)
HSLhsl(297, 51%, 50%)
HSVhsv(297, 67%, 75%)
CMYKcmyk(3.1%, 67.2%, 0%, 24.7%)
CIE-LABlab(49.25, 64.89, -43.45)
CIE-LCHlch(49.25, 78.10, 326.19°)
OKLaboklab(59.05% 0.1782 -0.1206)
OKLCHoklch(59.05% 0.215 325.9)
XYZxyz(31.5410, 17.8019, 51.6338)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FC0 #45C03F
analogous
#793FC0 #BA3FC0 #C03F86
triadic
#BA3FC0 #C0BA3F #3FC0BA
tetradic
#BA3FC0 #C0793F #45C03F #3F86C0
square
#BA3FC0 #C0793F #45C03F #3F86C0
split-complementary
#BA3FC0 #86C03F #3FC079
monochromatic
#612164 #8D3092 #BA3FC0 #CB6DCF #DB9BDE

Accessibility & contrast

On white

4.61
#BA3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BA3FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3FC0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FC0#FFFFFF#000000##FFFFFF
##BA3FC01.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266BC4
Deuteranopia (green-blind)
#5A7ABD
Tritanopia (blue-blind)
#BF537B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3fc0;
/* rgb */ color: rgb(186, 63, 192);
/* oklch */ color: oklch(59.1% 0.215 325.9);
Tailwind
colors: {
  custom: {
    50: '#d27ed3',
    500: '#ba3fc0',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fc0;
$custom-light: #d27ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fc0",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 297.209,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.5905,
    "c": 0.21516,
    "h": 325.9
  },
  "luminance": 0.178
}

Semantic roles & 50–950 ramp

primary
#BA3FC0
secondary
#93CA91
accent
#DA4E54
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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