#BA41BE#BA41BE

#BA41BE is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.211 H 326.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA41BE
RGBrgb(186, 65, 190)
HSLhsl(298, 49%, 50%)
HSVhsv(298, 66%, 75%)
CMYKcmyk(2.1%, 65.8%, 0%, 25.5%)
CIE-LABlab(49.42, 63.78, -42.03)
CIE-LCHlch(49.42, 76.38, 326.62°)
OKLaboklab(59.14% 0.176 -0.1164)
OKLCHoklch(59.14% 0.211 326.5)
XYZxyz(31.4337, 17.9394, 50.5122)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41BE #45BE41
analogous
#7B41BE #BA41BE #BE4184
triadic
#BA41BE #BEBA41 #41BEBA
tetradic
#BA41BE #BE7B41 #45BE41 #4184BE
square
#BA41BE #BE7B41 #45BE41 #4184BE
split-complementary
#BA41BE #84BE41 #41BE7B
monochromatic
#612263 #8D3190 #BA41BE #CB6FCE #DB9CDD

Accessibility & contrast

On white

4.58
#BA41BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#BA41BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41BE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41BE#FFFFFF#000000##000000
##BA41BE1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#5D7BBB
Tritanopia (blue-blind)
#BF537A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba41be;
/* rgb */ color: rgb(186, 65, 190);
/* oklch */ color: oklch(59.1% 0.211 326.5);
Tailwind
colors: {
  custom: {
    50: '#d27fd2',
    500: '#ba41be',
    950: '#000000',
  },
}
SCSS
$custom: #ba41be;
$custom-light: #d27fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41be",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 298.08,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.59136,
    "c": 0.21104,
    "h": 326.5
  },
  "luminance": 0.17937
}

Semantic roles & 50–950 ramp

primary
#BA41BE
secondary
#93C991
accent
#D94F54
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA41BE

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

Preview Lab → · Contrast checker → · Palette generator →

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