#BA3FBB#BA3FBB

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

Color values

HEX#BA3FBB
RGBrgb(186, 63, 187)
HSLhsl(300, 50%, 49%)
HSVhsv(300, 66%, 73%)
CMYKcmyk(0.5%, 66.3%, 0%, 26.7%)
CIE-LABlab(48.99, 64.04, -40.97)
CIE-LCHlch(48.99, 76.03, 327.39°)
OKLaboklab(58.77% 0.1781 -0.1134)
OKLCHoklch(58.77% 0.211 327.5)
XYZxyz(30.9964, 17.5841, 48.7655)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FBB #40BB3F
analogous
#7C3FBB #BA3FBB #BB3F7E
triadic
#BA3FBB #BBBA3F #3FBBBA
tetradic
#BA3FBB #BB7C3F #40BB3F #3F7EBB
square
#BA3FBB #BB7C3F #40BB3F #3F7EBB
split-complementary
#BA3FBB #7EBB3F #3FBB7C
monochromatic
#5F205F #8C308D #BA3FBB #CC6ACD #DC98DC

Accessibility & contrast

On white

4.65
#BA3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3FBB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FBB#FFFFFF#000000##FFFFFF
##BA3FBB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABF
Deuteranopia (green-blind)
#5D7AB8
Tritanopia (blue-blind)
#BF5078
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3fbb;
/* rgb */ color: rgb(186, 63, 187);
/* oklch */ color: oklch(58.8% 0.211 327.5);
Tailwind
colors: {
  custom: {
    50: '#d27ed0',
    500: '#ba3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fbb;
$custom-light: #d27ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fbb",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 299.516,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58771,
    "c": 0.2111,
    "h": 327.5
  },
  "luminance": 0.17582
}

Semantic roles & 50–950 ramp

primary
#BA3FBB
secondary
#8EC88E
accent
#D94F50
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BA3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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