#BA41E7#BA41E7

#BA41E7 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.6% C 0.246 H 315.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA41E7
RGBrgb(186, 65, 231)
HSLhsl(284, 78%, 58%)
HSVhsv(284, 72%, 91%)
CMYKcmyk(19.5%, 71.9%, 0%, 9.4%)
CIE-LABlab(51.83, 71.28, -61.64)
CIE-LCHlch(51.83, 94.24, 319.15°)
OKLaboklab(61.63% 0.1742 -0.1737)
OKLCHoklch(61.63% 0.246 315.1)
XYZxyz(36.5614, 19.9905, 77.5185)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41E7 #6EE741
analogous
#6741E7 #BA41E7 #E741C1
triadic
#BA41E7 #E7BA41 #41E7BA
tetradic
#BA41E7 #E76741 #6EE741 #41C1E7
square
#BA41E7 #E76741 #6EE741 #41C1E7
split-complementary
#BA41E7 #C1E741 #41E767
monochromatic
#76139A #9F1AD0 #BA41E7 #CE77EE #E1AEF5

Accessibility & contrast

On white

4.20
#BA41E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BA41E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41E7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41E7#FFFFFF#000000##000000
##BA41E71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#3B7FE3
Tritanopia (blue-blind)
#B66491
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba41e7;
/* rgb */ color: rgb(186, 65, 231);
/* oklch */ color: oklch(61.6% 0.246 315.1);
Tailwind
colors: {
  custom: {
    50: '#d380ef',
    500: '#ba41e7',
    950: '#000000',
  },
}
SCSS
$custom: #ba41e7;
$custom-light: #d380ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41e7",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 231
  },
  "hsl": {
    "h": 283.735,
    "s": 77.57,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61628,
    "c": 0.24602,
    "h": 315.1
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

primary
#BA41E7
secondary
#B3E3A1
accent
#F43468
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #BA41E7

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

Preview Lab → · Contrast checker → · Palette generator →

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