#BA3FC2#BA3FC2

#BA3FC2 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.217 H 325.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA3FC2
RGBrgb(186, 63, 194)
HSLhsl(296, 52%, 50%)
HSVhsv(296, 68%, 76%)
CMYKcmyk(4.1%, 67.5%, 0%, 23.9%)
CIE-LABlab(49.36, 65.24, -44.44)
CIE-LCHlch(49.36, 78.94, 325.74°)
OKLaboklab(59.16% 0.1782 -0.1234)
OKLCHoklch(59.16% 0.217 325.3)
XYZxyz(31.7641, 17.8912, 52.8088)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FC2 #47C23F
analogous
#783FC2 #BA3FC2 #C23F88
triadic
#BA3FC2 #C2BA3F #3FC2BA
tetradic
#BA3FC2 #C2783F #47C23F #3F88C2
square
#BA3FC2 #C2783F #47C23F #3F88C2
split-complementary
#BA3FC2 #88C23F #3FC278
monochromatic
#622066 #8E2F95 #BA3FC2 #CB6DD1 #DB9CE0

Accessibility & contrast

On white

4.59
#BA3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BA3FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3FC2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FC2#FFFFFF#000000##FFFFFF
##BA3FC21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236CC6
Deuteranopia (green-blind)
#597BBF
Tritanopia (blue-blind)
#BE537C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3fc2;
/* rgb */ color: rgb(186, 63, 194);
/* oklch */ color: oklch(59.2% 0.217 325.3);
Tailwind
colors: {
  custom: {
    50: '#d27ed5',
    500: '#ba3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fc2;
$custom-light: #d27ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fc2",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 296.336,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59164,
    "c": 0.2168,
    "h": 325.3
  },
  "luminance": 0.17889
}

Semantic roles & 50–950 ramp

primary
#BA3FC2
secondary
#95CC91
accent
#DB4D55
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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