#BA41D0#BA41D0

#BA41D0 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.2% C 0.226 H 321.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA41D0
RGBrgb(186, 65, 208)
HSLhsl(291, 60%, 54%)
HSVhsv(291, 69%, 82%)
CMYKcmyk(10.6%, 68.8%, 0%, 18.4%)
CIE-LABlab(50.42, 66.96, -50.82)
CIE-LCHlch(50.42, 84.06, 322.81°)
OKLaboklab(60.18% 0.1759 -0.142)
OKLCHoklch(60.18% 0.226 321.1)
XYZxyz(33.5239, 18.7755, 61.5205)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41D0 #57D041
analogous
#7241D0 #BA41D0 #D0419E
triadic
#BA41D0 #D0BA41 #41D0BA
tetradic
#BA41D0 #D07241 #57D041 #419ED0
square
#BA41D0 #D07241 #57D041 #419ED0
split-complementary
#BA41D0 #9ED041 #41D072
monochromatic
#6B1E79 #962AAA #BA41D0 #CC72DC #DEA3E8

Accessibility & contrast

On white

4.42
#BA41D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BA41D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41D0
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41D0#FFFFFF#000000##000000
##BA41D01.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#046FD4
Deuteranopia (green-blind)
#517CCD
Tritanopia (blue-blind)
#BB5B84
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba41d0;
/* rgb */ color: rgb(186, 65, 208);
/* oklch */ color: oklch(60.2% 0.226 321.1);
Tailwind
colors: {
  custom: {
    50: '#d280df',
    500: '#ba41d0',
    950: '#000000',
  },
}
SCSS
$custom: #ba41d0;
$custom-light: #d280df;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41d0",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 208
  },
  "hsl": {
    "h": 290.769,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60179,
    "c": 0.22612,
    "h": 321.1
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

primary
#BA41D0
secondary
#A1D598
accent
#E3445D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA41D0

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

Preview Lab → · Contrast checker → · Palette generator →

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