#BA41C1#BA41C1

#BA41C1 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.214 H 325.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA41C1
RGBrgb(186, 65, 193)
HSLhsl(297, 51%, 51%)
HSVhsv(297, 66%, 76%)
CMYKcmyk(3.6%, 66.3%, 0%, 24.3%)
CIE-LABlab(49.58, 64.30, -43.51)
CIE-LCHlch(49.58, 77.64, 325.91°)
OKLaboklab(59.3% 0.1761 -0.1207)
OKLCHoklch(59.3% 0.214 325.6)
XYZxyz(31.7649, 18.0719, 52.2569)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41C1 #48C141
analogous
#7A41C1 #BA41C1 #C14188
triadic
#BA41C1 #C1BA41 #41C1BA
tetradic
#BA41C1 #C17A41 #48C141 #4188C1
square
#BA41C1 #C17A41 #48C141 #4188C1
split-complementary
#BA41C1 #88C141 #41C17A
monochromatic
#622166 #8F3094 #BA41C1 #CB6FD0 #DC9DDF

Accessibility & contrast

On white

4.55
#BA41C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BA41C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41C1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41C1#FFFFFF#000000##000000
##BA41C11.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#286CC5
Deuteranopia (green-blind)
#5B7BBE
Tritanopia (blue-blind)
#BE547C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba41c1;
/* rgb */ color: rgb(186, 65, 193);
/* oklch */ color: oklch(59.3% 0.214 325.6);
Tailwind
colors: {
  custom: {
    50: '#d27fd4',
    500: '#ba41c1',
    950: '#000000',
  },
}
SCSS
$custom: #ba41c1;
$custom-light: #d27fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41c1",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 296.719,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59304,
    "c": 0.21351,
    "h": 325.6
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

primary
#BA41C1
secondary
#96CB92
accent
#DA4E55
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA41C1

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

Preview Lab → · Contrast checker → · Palette generator →

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