#BA41AE#BA41AE

#BA41AE is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.3% C 0.198 H 332.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BA41AE
RGBrgb(186, 65, 174)
HSLhsl(306, 48%, 49%)
HSVhsv(306, 65%, 73%)
CMYKcmyk(0%, 65.1%, 6.5%, 27.1%)
CIE-LABlab(48.61, 61.11, -33.97)
CIE-LCHlch(48.61, 69.92, 330.94°)
OKLaboklab(58.28% 0.175 -0.0931)
OKLCHoklch(58.28% 0.198 332)
XYZxyz(29.7800, 17.2780, 41.8027)
Luminance0.1728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA41AE #41BA4D
analogous
#8A41BA #BA41AE #BA4172
triadic
#BA41AE #AEBA41 #41AEBA
tetradic
#BA41AE #BA8A41 #41BA4D #4172BA
square
#BA41AE #BA8A41 #41BA4D #4172BA
split-complementary
#BA41AE #72BA41 #41BA8A
monochromatic
#5F2159 #8D3184 #BA41AE #CC6CC2 #DC9AD5

Accessibility & contrast

On white

4.71
#BA41AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#BA41AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA41AE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA41AE#FFFFFF#000000##FFFFFF
##BA41AE1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B68B1
Deuteranopia (green-blind)
#657AAB
Tritanopia (blue-blind)
#C24C72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba41ae;
/* rgb */ color: rgb(186, 65, 174);
/* oklch */ color: oklch(58.3% 0.198 332.0);
Tailwind
colors: {
  custom: {
    50: '#d27ec6',
    500: '#ba41ae',
    950: '#000000',
  },
}
SCSS
$custom: #ba41ae;
$custom-light: #d27ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba41ae",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 305.95,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58283,
    "c": 0.19823,
    "h": 332
  },
  "luminance": 0.17276
}

Semantic roles & 50–950 ramp

primary
#BA41AE
secondary
#8FC895
accent
#D85D50
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA41AE

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

Preview Lab → · Contrast checker → · Palette generator →

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