#BA41BB#BA41BB

#BA41BB is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.0% C 0.209 H 327.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA41BB
RGBrgb(186, 65, 187)
HSLhsl(300, 48%, 49%)
HSVhsv(300, 65%, 73%)
CMYKcmyk(0.5%, 65.2%, 0%, 26.7%)
CIE-LABlab(49.26, 63.27, -40.53)
CIE-LCHlch(49.26, 75.14, 327.35°)
OKLaboklab(58.97% 0.1759 -0.1121)
OKLCHoklch(58.97% 0.209 327.5)
XYZxyz(31.1092, 17.8096, 48.8031)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41BB #42BB41
analogous
#7D41BB #BA41BB #BB417F
triadic
#BA41BB #BBBA41 #41BBBA
tetradic
#BA41BB #BB7D41 #42BB41 #417FBB
square
#BA41BB #BB7D41 #42BB41 #417FBB
split-complementary
#BA41BB #7FBB41 #41BB7D
monochromatic
#602160 #8D318E #BA41BB #CB6DCC #DB9ADC

Accessibility & contrast

On white

4.60
#BA41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BA41BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA41BB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41BB#FFFFFF#000000##FFFFFF
##BA41BB1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBF
Deuteranopia (green-blind)
#5E7BB8
Tritanopia (blue-blind)
#BF5279
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba41bb;
/* rgb */ color: rgb(186, 65, 187);
/* oklch */ color: oklch(59.0% 0.209 327.5);
Tailwind
colors: {
  custom: {
    50: '#d27fd0',
    500: '#ba41bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba41bb;
$custom-light: #d27fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41bb",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 299.508,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.20858,
    "h": 327.5
  },
  "luminance": 0.17808
}

Semantic roles & 50–950 ramp

primary
#BA41BB
secondary
#90C890
accent
#D85051
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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