#BA3BBD#BA3BBD

#BA3BBD is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.218 H 326.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA3BBD
RGBrgb(186, 59, 189)
HSLhsl(299, 52%, 49%)
HSVhsv(299, 69%, 74%)
CMYKcmyk(1.6%, 68.8%, 0%, 25.9%)
CIE-LABlab(48.57, 65.87, -42.81)
CIE-LCHlch(48.57, 78.56, 326.98°)
OKLaboklab(58.5% 0.1823 -0.1186)
OKLCHoklch(58.5% 0.218 326.9)
XYZxyz(30.9985, 17.2433, 49.8298)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BBD #3EBD3B
analogous
#793BBD #BA3BBD #BD3B7F
triadic
#BA3BBD #BDBA3B #3BBDBA
tetradic
#BA3BBD #BD793B #3EBD3B #3B7FBD
square
#BA3BBD #BD793B #3EBD3B #3B7FBD
split-complementary
#BA3BBD #7FBD3B #3BBD79
monochromatic
#5E1E60 #8C2C8E #BA3BBD #CD66CF #DC95DE

Accessibility & contrast

On white

4.72
#BA3BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BA3BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BBD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BBD#FFFFFF#000000##FFFFFF
##BA3BBD1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3bbd;
/* rgb */ color: rgb(186, 59, 189);
/* oklch */ color: oklch(58.5% 0.218 326.9);
Tailwind
colors: {
  custom: {
    50: '#d27cd1',
    500: '#ba3bbd',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bbd;
$custom-light: #d27cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bbd",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 298.615,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58501,
    "c": 0.21754,
    "h": 326.9
  },
  "luminance": 0.17241
}

Semantic roles & 50–950 ramp

primary
#BA3BBD
secondary
#8CC98B
accent
#DC4C4F
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA3BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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