#BA41CF#BA41CF

#BA41CF is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.1% C 0.225 H 321.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA41CF
RGBrgb(186, 65, 207)
HSLhsl(291, 60%, 53%)
HSVhsv(291, 69%, 81%)
CMYKcmyk(10.1%, 68.6%, 0%, 18.8%)
CIE-LABlab(50.37, 66.78, -50.34)
CIE-LCHlch(50.37, 83.63, 322.99°)
OKLaboklab(60.12% 0.176 -0.1406)
OKLCHoklch(60.12% 0.225 321.4)
XYZxyz(33.4012, 18.7265, 60.8746)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41CF #56CF41
analogous
#7341CF #BA41CF #CF419D
triadic
#BA41CF #CFBA41 #41CFBA
tetradic
#BA41CF #CF7341 #56CF41 #419DCF
square
#BA41CF #CF7341 #56CF41 #419DCF
split-complementary
#BA41CF #9DCF41 #41CF73
monochromatic
#6A1E77 #962BA8 #BA41CF #CC72DB #DDA3E8

Accessibility & contrast

On white

4.43
#BA41CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA41CF#FFFFFF#000000##000000
##BA41CF1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#096FD3
Deuteranopia (green-blind)
#527CCC
Tritanopia (blue-blind)
#BC5A83
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba41cf;
/* rgb */ color: rgb(186, 65, 207);
/* oklch */ color: oklch(60.1% 0.225 321.4);
Tailwind
colors: {
  custom: {
    50: '#d280de',
    500: '#ba41cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba41cf;
$custom-light: #d280de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41cf",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 291.127,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60119,
    "c": 0.22527,
    "h": 321.4
  },
  "luminance": 0.18725
}

Semantic roles & 50–950 ramp

primary
#BA41CF
secondary
#A0D497
accent
#E3455C
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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