#BA41B0#BA41B0

#BA41B0 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.4% C 0.200 H 331.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA41B0
RGBrgb(186, 65, 176)
HSLhsl(305, 48%, 49%)
HSVhsv(305, 65%, 73%)
CMYKcmyk(0%, 65.1%, 5.4%, 27.1%)
CIE-LABlab(48.71, 61.44, -34.99)
CIE-LCHlch(48.71, 70.70, 330.34°)
OKLaboklab(58.39% 0.1752 -0.0961)
OKLCHoklch(58.39% 0.2 331.3)
XYZxyz(29.9764, 17.3565, 42.8372)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41B0 #41BA4B
analogous
#8841BA #BA41B0 #BA4174
triadic
#BA41B0 #B0BA41 #41B0BA
tetradic
#BA41B0 #BA8841 #41BA4B #4174BA
square
#BA41B0 #BA8841 #41BA4B #4174BA
split-complementary
#BA41B0 #74BA41 #41BA88
monochromatic
#5F215A #8D3185 #BA41B0 #CC6CC4 #DC9AD6

Accessibility & contrast

On white

4.70
#BA41B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BA41B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA41B0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41B0#FFFFFF#000000##FFFFFF
##BA41B01.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3969B3
Deuteranopia (green-blind)
#647AAD
Tritanopia (blue-blind)
#C14D73
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba41b0;
/* rgb */ color: rgb(186, 65, 176);
/* oklch */ color: oklch(58.4% 0.200 331.3);
Tailwind
colors: {
  custom: {
    50: '#d27fc8',
    500: '#ba41b0',
    950: '#000000',
  },
}
SCSS
$custom: #ba41b0;
$custom-light: #d27fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41b0",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 304.959,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58386,
    "c": 0.1998,
    "h": 331.3
  },
  "luminance": 0.17354
}

Semantic roles & 50–950 ramp

primary
#BA41B0
secondary
#8FC894
accent
#D85B50
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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