#BA41E0#BA41E0

#BA41E0 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.2% C 0.240 H 316.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA41E0
RGBrgb(186, 65, 224)
HSLhsl(286, 72%, 57%)
HSVhsv(286, 71%, 88%)
CMYKcmyk(17%, 71%, 0%, 12.2%)
CIE-LABlab(51.39, 69.94, -58.40)
CIE-LCHlch(51.39, 91.11, 320.14°)
OKLaboklab(61.17% 0.1749 -0.1642)
OKLCHoklch(61.17% 0.24 316.8)
XYZxyz(35.5925, 19.6030, 72.4155)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41E0 #67E041
analogous
#6A41E0 #BA41E0 #E041B7
triadic
#BA41E0 #E0BA41 #41E0BA
tetradic
#BA41E0 #E06A41 #67E041 #41B7E0
square
#BA41E0 #E06A41 #67E041 #41B7E0
split-complementary
#BA41E0 #B7E041 #41E06A
monochromatic
#73178F #9D20C4 #BA41E0 #CD76E9 #E0AAF1

Accessibility & contrast

On white

4.27
#BA41E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BA41E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41E0
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41E0#FFFFFF#000000##000000
##BA41E01.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#437EDC
Tritanopia (blue-blind)
#B8618D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba41e0;
/* rgb */ color: rgb(186, 65, 224);
/* oklch */ color: oklch(61.2% 0.240 316.8);
Tailwind
colors: {
  custom: {
    50: '#d380ea',
    500: '#ba41e0',
    950: '#000000',
  },
}
SCSS
$custom: #ba41e0;
$custom-light: #d380ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41e0",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 224
  },
  "hsl": {
    "h": 285.66,
    "s": 71.946,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61174,
    "c": 0.23991,
    "h": 316.8
  },
  "luminance": 0.19602
}

Semantic roles & 50–950 ramp

primary
#BA41E0
secondary
#ADDF9E
accent
#EF3965
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA41E0

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

Preview Lab → · Contrast checker → · Palette generator →

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