#BA41C0#BA41C0

#BA41C0 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.213 H 325.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA41C0
RGBrgb(186, 65, 192)
HSLhsl(297, 50%, 50%)
HSVhsv(297, 66%, 75%)
CMYKcmyk(3.1%, 66.1%, 0%, 24.7%)
CIE-LABlab(49.53, 64.12, -43.02)
CIE-LCHlch(49.53, 77.22, 326.14°)
OKLaboklab(59.25% 0.1761 -0.1193)
OKLCHoklch(59.25% 0.213 325.9)
XYZxyz(31.6538, 18.0275, 51.6714)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41C0 #47C041
analogous
#7A41C0 #BA41C0 #C04187
triadic
#BA41C0 #C0BA41 #41C0BA
tetradic
#BA41C0 #C07A41 #47C041 #4187C0
square
#BA41C0 #C07A41 #47C041 #4187C0
split-complementary
#BA41C0 #87C041 #41C07A
monochromatic
#622265 #8E3193 #BA41C0 #CB6FCF #DB9DDE

Accessibility & contrast

On white

4.56
#BA41C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BA41C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41C0
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41C0#FFFFFF#000000##000000
##BA41C01.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#296CC4
Deuteranopia (green-blind)
#5B7BBD
Tritanopia (blue-blind)
#BF547B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba41c0;
/* rgb */ color: rgb(186, 65, 192);
/* oklch */ color: oklch(59.2% 0.213 325.9);
Tailwind
colors: {
  custom: {
    50: '#d27fd3',
    500: '#ba41c0',
    950: '#000000',
  },
}
SCSS
$custom: #ba41c0;
$custom-light: #d27fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41c0",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 297.165,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59248,
    "c": 0.21268,
    "h": 325.9
  },
  "luminance": 0.18025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA41C0

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

Preview Lab → · Contrast checker → · Palette generator →

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