#BA3FBC#BA3FBC

#BA3FBC is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.8% C 0.212 H 327.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BA3FBC
RGBrgb(186, 63, 188)
HSLhsl(299, 50%, 49%)
HSVhsv(299, 66%, 74%)
CMYKcmyk(1.1%, 66.5%, 0%, 26.3%)
CIE-LABlab(49.04, 64.21, -41.47)
CIE-LCHlch(49.04, 76.44, 327.14°)
OKLaboklab(58.83% 0.1781 -0.1148)
OKLCHoklch(58.83% 0.212 327.2)
XYZxyz(31.1038, 17.6270, 49.3313)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FBC #41BC3F
analogous
#7C3FBC #BA3FBC #BC3F80
triadic
#BA3FBC #BCBA3F #3FBCBA
tetradic
#BA3FBC #BC7C3F #41BC3F #3F80BC
square
#BA3FBC #BC7C3F #41BC3F #3F80BC
split-complementary
#BA3FBC #80BC3F #3FBC7C
monochromatic
#5F2060 #8D308E #BA3FBC #CC6BCD #DC99DD

Accessibility & contrast

On white

4.64
#BA3FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BA3FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3FBC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FBC#FFFFFF#000000##FFFFFF
##BA3FBC1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6AC0
Deuteranopia (green-blind)
#5D7AB9
Tritanopia (blue-blind)
#BF5179
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3fbc;
/* rgb */ color: rgb(186, 63, 188);
/* oklch */ color: oklch(58.8% 0.212 327.2);
Tailwind
colors: {
  custom: {
    50: '#d27ed0',
    500: '#ba3fbc',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fbc;
$custom-light: #d27ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fbc",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 299.04,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58826,
    "c": 0.21191,
    "h": 327.2
  },
  "luminance": 0.17625
}

Semantic roles & 50–950 ramp

primary
#BA3FBC
secondary
#8FC98E
accent
#D94E51
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BA3FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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