#BA41CC#BA41CC

#BA41CC is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.223 H 322.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA41CC
RGBrgb(186, 65, 204)
HSLhsl(292, 58%, 53%)
HSVhsv(292, 68%, 80%)
CMYKcmyk(8.8%, 68.1%, 0%, 20%)
CIE-LABlab(50.19, 66.24, -48.89)
CIE-LCHlch(50.19, 82.33, 323.57°)
OKLaboklab(59.94% 0.1761 -0.1364)
OKLCHoklch(59.94% 0.223 322.2)
XYZxyz(33.0379, 18.5811, 58.9614)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41CC #53CC41
analogous
#7441CC #BA41CC #CC4199
triadic
#BA41CC #CCBA41 #41CCBA
tetradic
#BA41CC #CC7441 #53CC41 #4199CC
square
#BA41CC #CC7441 #53CC41 #4199CC
split-complementary
#BA41CC #99CC41 #41CC74
monochromatic
#691F74 #942CA4 #BA41CC #CC71D9 #DDA1E6

Accessibility & contrast

On white

4.45
#BA41CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BA41CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41CC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41CC#FFFFFF#000000##000000
##BA41CC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#136FD0
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#BC5982
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba41cc;
/* rgb */ color: rgb(186, 65, 204);
/* oklch */ color: oklch(59.9% 0.223 322.2);
Tailwind
colors: {
  custom: {
    50: '#d27fdc',
    500: '#ba41cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba41cc;
$custom-light: #d27fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41cc",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 292.23,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5994,
    "c": 0.22272,
    "h": 322.2
  },
  "luminance": 0.18579
}

Semantic roles & 50–950 ramp

primary
#BA41CC
secondary
#9ED396
accent
#E1475B
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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