#BA41C9#BA41C9

#BA41C9 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.220 H 323.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BA41C9
RGBrgb(186, 65, 201)
HSLhsl(293, 56%, 52%)
HSVhsv(293, 68%, 79%)
CMYKcmyk(7.5%, 67.7%, 0%, 21.2%)
CIE-LABlab(50.02, 65.70, -47.43)
CIE-LCHlch(50.02, 81.04, 324.17°)
OKLaboklab(59.76% 0.1761 -0.1322)
OKLCHoklch(59.76% 0.22 323.1)
XYZxyz(32.6816, 18.4386, 57.0846)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41C9 #50C941
analogous
#7641C9 #BA41C9 #C94194
triadic
#BA41C9 #C9BA41 #41C9BA
tetradic
#BA41C9 #C97641 #50C941 #4194C9
square
#BA41C9 #C97641 #50C941 #4194C9
split-complementary
#BA41C9 #94C941 #41C976
monochromatic
#672070 #932D9F #BA41C9 #CB71D7 #DDA0E4

Accessibility & contrast

On white

4.48
#BA41C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#BA41C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41C9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41C9#FFFFFF#000000##000000
##BA41C91.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6ECD
Deuteranopia (green-blind)
#567CC6
Tritanopia (blue-blind)
#BD5880
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba41c9;
/* rgb */ color: rgb(186, 65, 201);
/* oklch */ color: oklch(59.8% 0.220 323.1);
Tailwind
colors: {
  custom: {
    50: '#d27fda',
    500: '#ba41c9',
    950: '#000000',
  },
}
SCSS
$custom: #ba41c9;
$custom-light: #d27fda;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41c9",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 201
  },
  "hsl": {
    "h": 293.382,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59763,
    "c": 0.22018,
    "h": 323.1
  },
  "luminance": 0.18437
}

Semantic roles & 50–950 ramp

primary
#BA41C9
secondary
#9CD195
accent
#DF4959
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA41C9

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

Preview Lab → · Contrast checker → · Palette generator →

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