#BA41BC#BA41BC

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

Color values

HEX#BA41BC
RGBrgb(186, 65, 188)
HSLhsl(299, 49%, 50%)
HSVhsv(299, 65%, 74%)
CMYKcmyk(1.1%, 65.4%, 0%, 26.3%)
CIE-LABlab(49.32, 63.44, -41.03)
CIE-LCHlch(49.32, 75.55, 327.10°)
OKLaboklab(59.03% 0.1759 -0.1135)
OKLCHoklch(59.03% 0.209 327.2)
XYZxyz(31.2166, 17.8526, 49.3689)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41BC #43BC41
analogous
#7C41BC #BA41BC #BC4181
triadic
#BA41BC #BCBA41 #41BCBA
tetradic
#BA41BC #BC7C41 #43BC41 #4181BC
square
#BA41BC #BC7C41 #43BC41 #4181BC
split-complementary
#BA41BC #81BC41 #41BC7C
monochromatic
#602261 #8D318F #BA41BC #CB6ECD #DB9BDC

Accessibility & contrast

On white

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

On black

4.57
#BA41BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA41BC#FFFFFF#000000##FFFFFF
##BA41BC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba41bc;
/* rgb */ color: rgb(186, 65, 188);
/* oklch */ color: oklch(59.0% 0.209 327.2);
Tailwind
colors: {
  custom: {
    50: '#d27fd0',
    500: '#ba41bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba41bc;
$custom-light: #d27fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41bc",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 299.024,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59026,
    "c": 0.2094,
    "h": 327.2
  },
  "luminance": 0.17851
}

Semantic roles & 50–950 ramp

primary
#BA41BC
secondary
#91C990
accent
#D85052
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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