#BA41CE#BA41CE

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

Color values

HEX#BA41CE
RGBrgb(186, 65, 206)
HSLhsl(291, 59%, 53%)
HSVhsv(291, 68%, 81%)
CMYKcmyk(9.7%, 68.4%, 0%, 19.2%)
CIE-LABlab(50.31, 66.60, -49.86)
CIE-LCHlch(50.31, 83.19, 323.18°)
OKLaboklab(60.06% 0.176 -0.1392)
OKLCHoklch(60.06% 0.224 321.7)
XYZxyz(33.2794, 18.6777, 60.2328)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41CE #55CE41
analogous
#7341CE #BA41CE #CE419C
triadic
#BA41CE #CEBA41 #41CEBA
tetradic
#BA41CE #CE7341 #55CE41 #419CCE
square
#BA41CE #CE7341 #55CE41 #419CCE
split-complementary
#BA41CE #9CCE41 #41CE73
monochromatic
#6A1E76 #952BA7 #BA41CE #CC72DB #DDA2E7

Accessibility & contrast

On white

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

On black

4.74
#BA41CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA41CE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41CE#FFFFFF#000000##000000
##BA41CE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D6FD2
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#BC5A83
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba41ce;
/* rgb */ color: rgb(186, 65, 206);
/* oklch */ color: oklch(60.1% 0.224 321.7);
Tailwind
colors: {
  custom: {
    50: '#d280dd',
    500: '#ba41ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba41ce;
$custom-light: #d280dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41ce",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 291.489,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60059,
    "c": 0.22442,
    "h": 321.7
  },
  "luminance": 0.18676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA41CE

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

Preview Lab → · Contrast checker → · Palette generator →

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