#BA3BB9#BA3BB9

#BA3BB9 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.3% C 0.214 H 328.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA3BB9
RGBrgb(186, 59, 185)
HSLhsl(300, 52%, 48%)
HSVhsv(300, 68%, 73%)
CMYKcmyk(0%, 68.3%, 0.5%, 27.1%)
CIE-LABlab(48.35, 65.20, -40.81)
CIE-LCHlch(48.35, 76.92, 327.95°)
OKLaboklab(58.28% 0.1823 -0.1129)
OKLCHoklch(58.28% 0.214 328.2)
XYZxyz(30.5703, 17.0720, 47.5746)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BB9 #3BBA3C
analogous
#7B3BBA #BA3BB9 #BA3B7A
triadic
#BA3BB9 #B9BA3B #3BB9BA
tetradic
#BA3BB9 #BA7B3B #3BBA3C #3B7ABA
square
#BA3BB9 #BA7B3B #3BBA3C #3B7ABA
split-complementary
#BA3BB9 #7ABA3B #3BBA7B
monochromatic
#5D1E5D #8C2C8B #BA3BB9 #CE64CD #DD93DC

Accessibility & contrast

On white

4.76
#BA3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BA3BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BB9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BB9#FFFFFF#000000##FFFFFF
##BA3BB91.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2868BD
Deuteranopia (green-blind)
#5C79B6
Tritanopia (blue-blind)
#C04D76
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3bb9;
/* rgb */ color: rgb(186, 59, 185);
/* oklch */ color: oklch(58.3% 0.214 328.2);
Tailwind
colors: {
  custom: {
    50: '#d27cce',
    500: '#ba3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bb9;
$custom-light: #d27cce;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bb9",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 300.472,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58278,
    "c": 0.21437,
    "h": 328.2
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#BA3BB9
secondary
#89C889
accent
#DB4E4D
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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