#BA41D5#BA41D5

#BA41D5 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.5% C 0.230 H 319.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BA41D5
RGBrgb(186, 65, 213)
HSLhsl(289, 64%, 55%)
HSVhsv(289, 69%, 84%)
CMYKcmyk(12.7%, 69.5%, 0%, 16.5%)
CIE-LABlab(50.72, 67.88, -53.21)
CIE-LCHlch(50.72, 86.25, 321.91°)
OKLaboklab(60.48% 0.1757 -0.149)
OKLCHoklch(60.48% 0.23 319.7)
XYZxyz(34.1487, 19.0255, 64.8114)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41D5 #5CD541
analogous
#7041D5 #BA41D5 #D541A6
triadic
#BA41D5 #D5BA41 #41D5BA
tetradic
#BA41D5 #D57041 #5CD541 #41A6D5
square
#BA41D5 #D57041 #5CD541 #41A6D5
split-complementary
#BA41D5 #A6D541 #41D570
monochromatic
#6D1C7F #9827B2 #BA41D5 #CC73E0 #DEA5EB

Accessibility & contrast

On white

4.37
#BA41D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BA41D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41D5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41D5#FFFFFF#000000##000000
##BA41D51.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#4D7DD2
Tritanopia (blue-blind)
#BA5D87
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba41d5;
/* rgb */ color: rgb(186, 65, 213);
/* oklch */ color: oklch(60.5% 0.230 319.7);
Tailwind
colors: {
  custom: {
    50: '#d380e3',
    500: '#ba41d5',
    950: '#000000',
  },
}
SCSS
$custom: #ba41d5;
$custom-light: #d380e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41d5",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 289.054,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60483,
    "c": 0.2304,
    "h": 319.7
  },
  "luminance": 0.19024
}

Semantic roles & 50–950 ramp

primary
#BA41D5
secondary
#A5D89A
accent
#E7415F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA41D5

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

Preview Lab → · Contrast checker → · Palette generator →

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