#BA3CBF#BA3CBF

#BA3CBF is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.218 H 326.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA3CBF
RGBrgb(186, 60, 191)
HSLhsl(298, 52%, 49%)
HSVhsv(298, 69%, 75%)
CMYKcmyk(2.6%, 68.6%, 0%, 25.1%)
CIE-LABlab(48.80, 65.84, -43.59)
CIE-LCHlch(48.80, 78.97, 326.49°)
OKLaboklab(58.71% 0.1813 -0.1209)
OKLCHoklch(58.71% 0.218 326.3)
XYZxyz(31.2689, 17.4345, 50.9983)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CBF #41BF3C
analogous
#793CBF #BA3CBF #BF3C83
triadic
#BA3CBF #BFBA3C #3CBFBA
tetradic
#BA3CBF #BF793C #41BF3C #3C83BF
square
#BA3CBF #BF793C #41BF3C #3C83BF
split-complementary
#BA3CBF #83BF3C #3CBF79
monochromatic
#5F1F62 #8D2D90 #BA3CBF #CC68D0 #DC97DE

Accessibility & contrast

On white

4.68
#BA3CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#BA3CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CBF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CBF#FFFFFF#000000##FFFFFF
##BA3CBF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC3
Deuteranopia (green-blind)
#5979BC
Tritanopia (blue-blind)
#BF5079
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3cbf;
/* rgb */ color: rgb(186, 60, 191);
/* oklch */ color: oklch(58.7% 0.218 326.3);
Tailwind
colors: {
  custom: {
    50: '#d27dd3',
    500: '#ba3cbf',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cbf;
$custom-light: #d27dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cbf",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 297.71,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58707,
    "c": 0.21796,
    "h": 326.3
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

primary
#BA3CBF
secondary
#8FCA8D
accent
#DC4C52
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA3CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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