#BA3CBD#BA3CBD

#BA3CBD is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.216 H 326.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA3CBD
RGBrgb(186, 60, 189)
HSLhsl(299, 52%, 49%)
HSVhsv(299, 68%, 74%)
CMYKcmyk(1.6%, 68.3%, 0%, 25.9%)
CIE-LABlab(48.69, 65.50, -42.60)
CIE-LCHlch(48.69, 78.14, 326.96°)
OKLaboklab(58.59% 0.1813 -0.1181)
OKLCHoklch(58.59% 0.216 326.9)
XYZxyz(31.0503, 17.3470, 49.8471)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CBD #3FBD3C
analogous
#7A3CBD #BA3CBD #BD3C80
triadic
#BA3CBD #BDBA3C #3CBDBA
tetradic
#BA3CBD #BD7A3C #3FBD3C #3C80BD
square
#BA3CBD #BD7A3C #3FBD3C #3C80BD
split-complementary
#BA3CBD #80BD3C #3CBD7A
monochromatic
#5F1F60 #8C2D8F #BA3CBD #CC67CF #DC96DE

Accessibility & contrast

On white

4.70
#BA3CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BA3CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CBD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CBD#FFFFFF#000000##FFFFFF
##BA3CBD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C1
Deuteranopia (green-blind)
#5A79BA
Tritanopia (blue-blind)
#BF4F78
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3cbd;
/* rgb */ color: rgb(186, 60, 189);
/* oklch */ color: oklch(58.6% 0.216 326.9);
Tailwind
colors: {
  custom: {
    50: '#d27dd1',
    500: '#ba3cbd',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cbd;
$custom-light: #d27dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cbd",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 298.605,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58594,
    "c": 0.21635,
    "h": 326.9
  },
  "luminance": 0.17345
}

Semantic roles & 50–950 ramp

primary
#BA3CBD
secondary
#8DC98C
accent
#DB4D50
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA3CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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