#BA3FB3#BA3FB3

#BA3FB3 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.3% C 0.205 H 330.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA3FB3
RGBrgb(186, 63, 179)
HSLhsl(303, 49%, 49%)
HSVhsv(303, 66%, 73%)
CMYKcmyk(0%, 66.1%, 3.8%, 27.1%)
CIE-LABlab(48.57, 62.71, -36.95)
CIE-LCHlch(48.57, 72.79, 329.49°)
OKLaboklab(58.34% 0.1777 -0.1017)
OKLCHoklch(58.34% 0.205 330.2)
XYZxyz(30.1637, 17.2510, 44.3802)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FB3 #3FBA46
analogous
#843FBA #BA3FB3 #BA3F76
triadic
#BA3FB3 #B3BA3F #3FB3BA
tetradic
#BA3FB3 #BA843F #3FBA46 #3F76BA
square
#BA3FB3 #BA843F #3FBA46 #3F76BA
split-complementary
#BA3FB3 #76BA3F #3FBA84
monochromatic
#5F205B #8C3087 #BA3FB3 #CC6AC7 #DC97D8

Accessibility & contrast

On white

4.72
#BA3FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BA3FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3FB3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FB3#FFFFFF#000000##FFFFFF
##BA3FB31.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3469B6
Deuteranopia (green-blind)
#6179B0
Tritanopia (blue-blind)
#C14D74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3fb3;
/* rgb */ color: rgb(186, 63, 179);
/* oklch */ color: oklch(58.3% 0.205 330.2);
Tailwind
colors: {
  custom: {
    50: '#d27eca',
    500: '#ba3fb3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fb3;
$custom-light: #d27eca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fb3",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 303.415,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58339,
    "c": 0.20473,
    "h": 330.2
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#BA3FB3
secondary
#8DC890
accent
#D9574F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA3FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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