#BA41C8#BA41C8

#BA41C8 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.219 H 323.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA41C8
RGBrgb(186, 65, 200)
HSLhsl(294, 55%, 52%)
HSVhsv(294, 68%, 78%)
CMYKcmyk(7%, 67.5%, 0%, 21.6%)
CIE-LABlab(49.97, 65.52, -46.95)
CIE-LCHlch(49.97, 80.61, 324.38°)
OKLaboklab(59.71% 0.1761 -0.1307)
OKLCHoklch(59.71% 0.219 323.4)
XYZxyz(32.5644, 18.3917, 56.4671)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41C8 #4FC841
analogous
#7741C8 #BA41C8 #C84192
triadic
#BA41C8 #C8BA41 #41C8BA
tetradic
#BA41C8 #C87741 #4FC841 #4192C8
square
#BA41C8 #C87741 #4FC841 #4192C8
split-complementary
#BA41C8 #92C841 #41C877
monochromatic
#66206F #922E9E #BA41C8 #CB70D6 #DCA0E3

Accessibility & contrast

On white

4.49
#BA41C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BA41C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41C8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41C8#FFFFFF#000000##000000
##BA41C81.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECC
Deuteranopia (green-blind)
#577CC5
Tritanopia (blue-blind)
#BD5780
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba41c8;
/* rgb */ color: rgb(186, 65, 200);
/* oklch */ color: oklch(59.7% 0.219 323.4);
Tailwind
colors: {
  custom: {
    50: '#d27fd9',
    500: '#ba41c8',
    950: '#000000',
  },
}
SCSS
$custom: #ba41c8;
$custom-light: #d27fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41c8",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 293.778,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59705,
    "c": 0.21934,
    "h": 323.4
  },
  "luminance": 0.1839
}

Semantic roles & 50–950 ramp

primary
#BA41C8
secondary
#9BD095
accent
#DE4959
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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