#BA41D9#BA41D9

#BA41D9 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.7% C 0.234 H 318.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA41D9
RGBrgb(186, 65, 217)
HSLhsl(288, 67%, 55%)
HSVhsv(288, 70%, 85%)
CMYKcmyk(14.3%, 70%, 0%, 14.9%)
CIE-LABlab(50.96, 68.62, -55.11)
CIE-LCHlch(50.96, 88.01, 321.23°)
OKLaboklab(60.73% 0.1755 -0.1546)
OKLCHoklch(60.73% 0.234 318.6)
XYZxyz(34.6627, 19.2310, 67.5183)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41D9 #60D941
analogous
#6E41D9 #BA41D9 #D941AC
triadic
#BA41D9 #D9BA41 #41D9BA
tetradic
#BA41D9 #D96E41 #60D941 #41ACD9
square
#BA41D9 #D96E41 #60D941 #41ACD9
split-complementary
#BA41D9 #ACD941 #41D96E
monochromatic
#6F1B85 #9A25B8 #BA41D9 #CD74E3 #DFA7ED

Accessibility & contrast

On white

4.33
#BA41D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#BA41D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41D9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41D9#FFFFFF#000000##000000
##BA41D91.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#4A7DD5
Tritanopia (blue-blind)
#BA5E89
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba41d9;
/* rgb */ color: rgb(186, 65, 217);
/* oklch */ color: oklch(60.7% 0.234 318.6);
Tailwind
colors: {
  custom: {
    50: '#d380e5',
    500: '#ba41d9',
    950: '#000000',
  },
}
SCSS
$custom: #ba41d9;
$custom-light: #d380e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41d9",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 287.763,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60731,
    "c": 0.23384,
    "h": 318.6
  },
  "luminance": 0.19229
}

Semantic roles & 50–950 ramp

primary
#BA41D9
secondary
#A8DB9B
accent
#EA3E61
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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