#BA41C7#BA41C7

#BA41C7 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.219 H 323.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA41C7
RGBrgb(186, 65, 199)
HSLhsl(294, 54%, 52%)
HSVhsv(294, 67%, 78%)
CMYKcmyk(6.5%, 67.3%, 0%, 22%)
CIE-LABlab(49.91, 65.35, -46.46)
CIE-LCHlch(49.91, 80.18, 324.59°)
OKLaboklab(59.65% 0.1761 -0.1293)
OKLCHoklch(59.65% 0.219 323.7)
XYZxyz(32.4479, 18.3451, 55.8536)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41C7 #4EC741
analogous
#7741C7 #BA41C7 #C74191
triadic
#BA41C7 #C7BA41 #41C7BA
tetradic
#BA41C7 #C77741 #4EC741 #4191C7
square
#BA41C7 #C77741 #4EC741 #4191C7
split-complementary
#BA41C7 #91C741 #41C777
monochromatic
#66206D #922E9D #BA41C7 #CB70D5 #DCA0E3

Accessibility & contrast

On white

4.50
#BA41C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#BA41C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41C7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41C7#FFFFFF#000000##000000
##BA41C71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F6ECB
Deuteranopia (green-blind)
#577CC4
Tritanopia (blue-blind)
#BD577F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba41c7;
/* rgb */ color: rgb(186, 65, 199);
/* oklch */ color: oklch(59.6% 0.219 323.7);
Tailwind
colors: {
  custom: {
    50: '#d27fd8',
    500: '#ba41c7',
    950: '#000000',
  },
}
SCSS
$custom: #ba41c7;
$custom-light: #d27fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41c7",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 294.179,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59647,
    "c": 0.21851,
    "h": 323.7
  },
  "luminance": 0.18343
}

Semantic roles & 50–950 ramp

primary
#BA41C7
secondary
#9ACF95
accent
#DE4A58
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA41C7

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

Preview Lab → · Contrast checker → · Palette generator →

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