#BA41C3#BA41C3

#BA41C3 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.215 H 324.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA41C3
RGBrgb(186, 65, 195)
HSLhsl(296, 52%, 51%)
HSVhsv(296, 67%, 76%)
CMYKcmyk(4.6%, 66.7%, 0%, 23.5%)
CIE-LABlab(49.69, 64.64, -44.50)
CIE-LCHlch(49.69, 78.48, 325.46°)
OKLaboklab(59.42% 0.1761 -0.1236)
OKLCHoklch(59.42% 0.215 324.9)
XYZxyz(31.9896, 18.1618, 53.4398)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41C3 #4AC341
analogous
#7941C3 #BA41C3 #C3418B
triadic
#BA41C3 #C3BA41 #41C3BA
tetradic
#BA41C3 #C37941 #4AC341 #418BC3
square
#BA41C3 #C37941 #4AC341 #418BC3
split-complementary
#BA41C3 #8BC341 #41C379
monochromatic
#642169 #903097 #BA41C3 #CB70D2 #DC9EE0

Accessibility & contrast

On white

4.53
#BA41C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BA41C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41C3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41C3#FFFFFF#000000##000000
##BA41C31.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#256DC7
Deuteranopia (green-blind)
#5A7BC0
Tritanopia (blue-blind)
#BE557D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba41c3;
/* rgb */ color: rgb(186, 65, 195);
/* oklch */ color: oklch(59.4% 0.215 324.9);
Tailwind
colors: {
  custom: {
    50: '#d27fd6',
    500: '#ba41c3',
    950: '#000000',
  },
}
SCSS
$custom: #ba41c3;
$custom-light: #d27fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41c3",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 295.846,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59417,
    "c": 0.21516,
    "h": 324.9
  },
  "luminance": 0.1816
}

Semantic roles & 50–950 ramp

primary
#BA41C3
secondary
#97CD93
accent
#DB4C56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA41C3

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

Preview Lab → · Contrast checker → · Palette generator →

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