#BA41B5#BA41B5

#BA41B5 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.6% C 0.204 H 329.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA41B5
RGBrgb(186, 65, 181)
HSLhsl(302, 48%, 49%)
HSVhsv(302, 65%, 73%)
CMYKcmyk(0%, 65.1%, 2.7%, 27.1%)
CIE-LABlab(48.96, 62.26, -37.52)
CIE-LCHlch(48.96, 72.69, 328.92°)
OKLaboklab(58.65% 0.1756 -0.1034)
OKLCHoklch(58.65% 0.204 329.5)
XYZxyz(30.4802, 17.5581, 45.4908)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41B5 #41BA46
analogous
#8341BA #BA41B5 #BA4179
triadic
#BA41B5 #B5BA41 #41B5BA
tetradic
#BA41B5 #BA8341 #41BA46 #4179BA
square
#BA41B5 #BA8341 #41BA46 #4179BA
split-complementary
#BA41B5 #79BA41 #41BA83
monochromatic
#5F215D #8D3189 #BA41B5 #CC6CC8 #DC9AD9

Accessibility & contrast

On white

4.66
#BA41B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA41B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA41B5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41B5#FFFFFF#000000##FFFFFF
##BA41B51.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356AB8
Deuteranopia (green-blind)
#617AB2
Tritanopia (blue-blind)
#C04F75
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba41b5;
/* rgb */ color: rgb(186, 65, 181);
/* oklch */ color: oklch(58.6% 0.204 329.5);
Tailwind
colors: {
  custom: {
    50: '#d27fcb',
    500: '#ba41b5',
    950: '#000000',
  },
}
SCSS
$custom: #ba41b5;
$custom-light: #d27fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41b5",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 302.479,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58647,
    "c": 0.20374,
    "h": 329.5
  },
  "luminance": 0.17556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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