#BA41C5#BA41C5

#BA41C5 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.5% C 0.217 H 324.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA41C5
RGBrgb(186, 65, 197)
HSLhsl(295, 53%, 51%)
HSVhsv(295, 67%, 77%)
CMYKcmyk(5.6%, 67%, 0%, 22.7%)
CIE-LABlab(49.80, 64.99, -45.48)
CIE-LCHlch(49.80, 79.33, 325.02°)
OKLaboklab(59.53% 0.1761 -0.1265)
OKLCHoklch(59.53% 0.217 324.3)
XYZxyz(32.2172, 18.2528, 54.6387)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41C5 #4CC541
analogous
#7841C5 #BA41C5 #C5418E
triadic
#BA41C5 #C5BA41 #41C5BA
tetradic
#BA41C5 #C57841 #4CC541 #418EC5
square
#BA41C5 #C57841 #4CC541 #418EC5
split-complementary
#BA41C5 #8EC541 #41C578
monochromatic
#65216B #912F9A #BA41C5 #CB70D3 #DC9FE2

Accessibility & contrast

On white

4.52
#BA41C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#BA41C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41C5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41C5#FFFFFF#000000##000000
##BA41C51.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#226DC9
Deuteranopia (green-blind)
#587BC2
Tritanopia (blue-blind)
#BE567E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba41c5;
/* rgb */ color: rgb(186, 65, 197);
/* oklch */ color: oklch(59.5% 0.217 324.3);
Tailwind
colors: {
  custom: {
    50: '#d27fd7',
    500: '#ba41c5',
    950: '#000000',
  },
}
SCSS
$custom: #ba41c5;
$custom-light: #d27fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41c5",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 295,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59532,
    "c": 0.21683,
    "h": 324.3
  },
  "luminance": 0.18251
}

Semantic roles & 50–950 ramp

primary
#BA41C5
secondary
#99CE94
accent
#DD4B57
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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