#BA41BF#BA41BF

#BA41BF is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.212 H 326.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA41BF
RGBrgb(186, 65, 191)
HSLhsl(298, 50%, 50%)
HSVhsv(298, 66%, 75%)
CMYKcmyk(2.6%, 66%, 0%, 25.1%)
CIE-LABlab(49.48, 63.95, -42.52)
CIE-LCHlch(49.48, 76.80, 326.38°)
OKLaboklab(59.19% 0.176 -0.1179)
OKLCHoklch(59.19% 0.212 326.2)
XYZxyz(31.5434, 17.9833, 51.0898)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41BF #46BF41
analogous
#7B41BF #BA41BF #BF4185
triadic
#BA41BF #BFBA41 #41BFBA
tetradic
#BA41BF #BF7B41 #46BF41 #4185BF
square
#BA41BF #BF7B41 #46BF41 #4185BF
split-complementary
#BA41BF #85BF41 #41BF7B
monochromatic
#612264 #8E3192 #BA41BF #CB6FCE #DB9DDE

Accessibility & contrast

On white

4.57
#BA41BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BA41BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41BF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41BF#FFFFFF#000000##000000
##BA41BF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#5C7BBC
Tritanopia (blue-blind)
#BF547B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba41bf;
/* rgb */ color: rgb(186, 65, 191);
/* oklch */ color: oklch(59.2% 0.212 326.2);
Tailwind
colors: {
  custom: {
    50: '#d27fd3',
    500: '#ba41bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba41bf;
$custom-light: #d27fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41bf",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 297.619,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59192,
    "c": 0.21185,
    "h": 326.2
  },
  "luminance": 0.17981
}

Semantic roles & 50–950 ramp

primary
#BA41BF
secondary
#94CA92
accent
#D94F54
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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