#BA41C2#BA41C2

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

Color values

HEX#BA41C2
RGBrgb(186, 65, 194)
HSLhsl(296, 51%, 51%)
HSVhsv(296, 66%, 76%)
CMYKcmyk(4.1%, 66.5%, 0%, 23.9%)
CIE-LABlab(49.64, 64.47, -44.01)
CIE-LCHlch(49.64, 78.06, 325.68°)
OKLaboklab(59.36% 0.1761 -0.1222)
OKLCHoklch(59.36% 0.214 325.2)
XYZxyz(31.8769, 18.1167, 52.8463)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41C2 #49C241
analogous
#7941C2 #BA41C2 #C24189
triadic
#BA41C2 #C2BA41 #41C2BA
tetradic
#BA41C2 #C27941 #49C241 #4189C2
square
#BA41C2 #C27941 #49C241 #4189C2
split-complementary
#BA41C2 #89C241 #41C279
monochromatic
#632167 #8F3096 #BA41C2 #CB6FD1 #DC9EE0

Accessibility & contrast

On white

4.54
#BA41C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BA41C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41C2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41C2#FFFFFF#000000##000000
##BA41C21.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#276CC6
Deuteranopia (green-blind)
#5A7BBF
Tritanopia (blue-blind)
#BE557C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba41c2;
/* rgb */ color: rgb(186, 65, 194);
/* oklch */ color: oklch(59.4% 0.214 325.2);
Tailwind
colors: {
  custom: {
    50: '#d27fd5',
    500: '#ba41c2',
    950: '#000000',
  },
}
SCSS
$custom: #ba41c2;
$custom-light: #d27fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41c2",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 296.279,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59361,
    "c": 0.21433,
    "h": 325.2
  },
  "luminance": 0.18115
}

Semantic roles & 50–950 ramp

primary
#BA41C2
secondary
#96CC93
accent
#DB4D56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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