#BA41BD#BA41BD

#BA41BD is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.210 H 326.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA41BD
RGBrgb(186, 65, 189)
HSLhsl(299, 49%, 50%)
HSVhsv(299, 66%, 74%)
CMYKcmyk(1.6%, 65.6%, 0%, 25.9%)
CIE-LABlab(49.37, 63.61, -41.53)
CIE-LCHlch(49.37, 75.96, 326.86°)
OKLaboklab(59.08% 0.176 -0.115)
OKLCHoklch(59.08% 0.21 326.8)
XYZxyz(31.3248, 17.8959, 49.9386)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41BD #44BD41
analogous
#7C41BD #BA41BD #BD4182
triadic
#BA41BD #BDBA41 #41BDBA
tetradic
#BA41BD #BD7C41 #44BD41 #4182BD
square
#BA41BD #BD7C41 #44BD41 #4182BD
split-complementary
#BA41BD #82BD41 #41BD7C
monochromatic
#602262 #8D318F #BA41BD #CB6ECD #DB9CDD

Accessibility & contrast

On white

4.59
#BA41BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BA41BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA41BD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41BD#FFFFFF#000000##FFFFFF
##BA41BD1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC1
Deuteranopia (green-blind)
#5D7BBA
Tritanopia (blue-blind)
#BF537A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba41bd;
/* rgb */ color: rgb(186, 65, 189);
/* oklch */ color: oklch(59.1% 0.210 326.8);
Tailwind
colors: {
  custom: {
    50: '#d27fd1',
    500: '#ba41bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba41bd;
$custom-light: #d27fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41bd",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 298.548,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59081,
    "c": 0.21021,
    "h": 326.8
  },
  "luminance": 0.17894
}

Semantic roles & 50–950 ramp

primary
#BA41BD
secondary
#92C991
accent
#D84F53
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA41BD

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

Preview Lab → · Contrast checker → · Palette generator →

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