#BA41B9#BA41B9

#BA41B9 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.9% C 0.207 H 328.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA41B9
RGBrgb(186, 65, 185)
HSLhsl(300, 48%, 49%)
HSVhsv(300, 65%, 73%)
CMYKcmyk(0%, 65.1%, 0.5%, 27.1%)
CIE-LABlab(49.16, 62.93, -39.53)
CIE-LCHlch(49.16, 74.32, 327.86°)
OKLaboklab(58.86% 0.1758 -0.1092)
OKLCHoklch(58.86% 0.207 328.2)
XYZxyz(30.8966, 17.7246, 47.6834)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41B9 #41BA42
analogous
#7F41BA #BA41B9 #BA417D
triadic
#BA41B9 #B9BA41 #41B9BA
tetradic
#BA41B9 #BA7F41 #41BA42 #417DBA
square
#BA41B9 #BA7F41 #41BA42 #417DBA
split-complementary
#BA41B9 #7DBA41 #41BA7F
monochromatic
#5F215F #8D318C #BA41B9 #CC6CCB #DC9ADB

Accessibility & contrast

On white

4.62
#BA41B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BA41B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA41B9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41B9#FFFFFF#000000##FFFFFF
##BA41B91.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBD
Deuteranopia (green-blind)
#5F7AB6
Tritanopia (blue-blind)
#C05178
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba41b9;
/* rgb */ color: rgb(186, 65, 185);
/* oklch */ color: oklch(58.9% 0.207 328.2);
Tailwind
colors: {
  custom: {
    50: '#d27fce',
    500: '#ba41b9',
    950: '#000000',
  },
}
SCSS
$custom: #ba41b9;
$custom-light: #d27fce;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41b9",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 300.496,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58862,
    "c": 0.20696,
    "h": 328.2
  },
  "luminance": 0.17722
}

Semantic roles & 50–950 ramp

primary
#BA41B9
secondary
#8FC890
accent
#D85150
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA41B9

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

Preview Lab → · Contrast checker → · Palette generator →

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