#BA41B3#BA41B3

#BA41B3 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.5% C 0.202 H 330.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA41B3
RGBrgb(186, 65, 179)
HSLhsl(303, 48%, 49%)
HSVhsv(303, 65%, 73%)
CMYKcmyk(0%, 65.1%, 3.8%, 27.1%)
CIE-LABlab(48.85, 61.93, -36.51)
CIE-LCHlch(48.85, 71.89, 329.48°)
OKLaboklab(58.54% 0.1754 -0.1005)
OKLCHoklch(58.54% 0.202 330.2)
XYZxyz(30.2765, 17.4766, 44.4177)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41B3 #41BA48
analogous
#8541BA #BA41B3 #BA4177
triadic
#BA41B3 #B3BA41 #41B3BA
tetradic
#BA41B3 #BA8541 #41BA48 #4177BA
square
#BA41B3 #BA8541 #41BA48 #4177BA
split-complementary
#BA41B3 #77BA41 #41BA85
monochromatic
#5F215C #8D3187 #BA41B3 #CC6CC6 #DC9AD8

Accessibility & contrast

On white

4.67
#BA41B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#BA41B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA41B3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41B3#FFFFFF#000000##FFFFFF
##BA41B31.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B6
Deuteranopia (green-blind)
#627AB0
Tritanopia (blue-blind)
#C14F74
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba41b3;
/* rgb */ color: rgb(186, 65, 179);
/* oklch */ color: oklch(58.5% 0.202 330.2);
Tailwind
colors: {
  custom: {
    50: '#d27fca',
    500: '#ba41b3',
    950: '#000000',
  },
}
SCSS
$custom: #ba41b3;
$custom-light: #d27fca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41b3",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 303.471,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58542,
    "c": 0.20215,
    "h": 330.2
  },
  "luminance": 0.17474
}

Semantic roles & 50–950 ramp

primary
#BA41B3
secondary
#8FC892
accent
#D85850
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA41B3

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

Preview Lab → · Contrast checker → · Palette generator →

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