#BA3BDA#BA3BDA

#BA3BDA is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.2% C 0.241 H 318.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BA3BDA
RGBrgb(186, 59, 218)
HSLhsl(288, 68%, 54%)
HSVhsv(288, 73%, 85%)
CMYKcmyk(14.7%, 72.9%, 0%, 14.5%)
CIE-LABlab(50.25, 70.98, -56.81)
CIE-LCHlch(50.25, 90.92, 321.33°)
OKLaboklab(60.25% 0.1811 -0.1595)
OKLCHoklch(60.25% 0.241 318.6)
XYZxyz(34.4668, 18.6306, 68.0966)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BDA #5BDA3B
analogous
#6B3BDA #BA3BDA #DA3BAA
triadic
#BA3BDA #DABA3B #3BDABA
tetradic
#BA3BDA #DA6B3B #5BDA3B #3BAADA
square
#BA3BDA #DA6B3B #5BDA3B #3BAADA
split-complementary
#BA3BDA #AADA3B #3BDA6B
monochromatic
#6D1982 #9822B6 #BA3BDA #CC6EE4 #DEA2ED

Accessibility & contrast

On white

4.44
#BA3BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BA3BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3BDA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BDA#FFFFFF#000000##000000
##BA3BDA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#447CD6
Tritanopia (blue-blind)
#B95B88
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba3bda;
/* rgb */ color: rgb(186, 59, 218);
/* oklch */ color: oklch(60.2% 0.241 318.6);
Tailwind
colors: {
  custom: {
    50: '#d37de6',
    500: '#ba3bda',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bda;
$custom-light: #d37de6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bda",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 218
  },
  "hsl": {
    "h": 287.925,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60249,
    "c": 0.24132,
    "h": 318.6
  },
  "luminance": 0.18629
}

Semantic roles & 50–950 ramp

primary
#BA3BDA
secondary
#A4DA97
accent
#EB3D60
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA3BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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