#BA41CA#BA41CA

#BA41CA is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.8% C 0.221 H 322.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA41CA
RGBrgb(186, 65, 202)
HSLhsl(293, 56%, 52%)
HSVhsv(293, 68%, 79%)
CMYKcmyk(7.9%, 67.8%, 0%, 20.8%)
CIE-LABlab(50.08, 65.88, -47.92)
CIE-LCHlch(50.08, 81.47, 323.97°)
OKLaboklab(59.82% 0.1761 -0.1336)
OKLCHoklch(59.82% 0.221 322.8)
XYZxyz(32.7996, 18.4858, 57.7061)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41CA #51CA41
analogous
#7641CA #BA41CA #CA4195
triadic
#BA41CA #CABA41 #41CABA
tetradic
#BA41CA #CA7641 #51CA41 #4195CA
square
#BA41CA #CA7641 #51CA41 #4195CA
split-complementary
#BA41CA #95CA41 #41CA76
monochromatic
#682071 #932DA1 #BA41CA #CB71D7 #DDA1E5

Accessibility & contrast

On white

4.47
#BA41CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BA41CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41CA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41CA#FFFFFF#000000##000000
##BA41CA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#186ECE
Deuteranopia (green-blind)
#557CC7
Tritanopia (blue-blind)
#BD5881
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba41ca;
/* rgb */ color: rgb(186, 65, 202);
/* oklch */ color: oklch(59.8% 0.221 322.8);
Tailwind
colors: {
  custom: {
    50: '#d27fdb',
    500: '#ba41ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba41ca;
$custom-light: #d27fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41ca",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 292.993,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59822,
    "c": 0.22103,
    "h": 322.8
  },
  "luminance": 0.18484
}

Semantic roles & 50–950 ramp

primary
#BA41CA
secondary
#9DD196
accent
#E0485A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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