#BA4BB9#BA4BB9

#BA4BB9 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 60.0% C 0.193 H 328.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA4BB9
RGBrgb(186, 75, 185)
HSLhsl(301, 45%, 51%)
HSVhsv(301, 60%, 73%)
CMYKcmyk(0%, 59.7%, 0.5%, 27.1%)
CIE-LABlab(50.66, 58.77, -37.17)
CIE-LCHlch(50.66, 69.54, 327.69°)
OKLaboklab(59.95% 0.164 -0.1025)
OKLCHoklch(59.95% 0.193 328)
XYZxyz(31.5223, 18.9761, 47.8920)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BB9 #4BBA4C
analogous
#834BBA #BA4BB9 #BA4B81
triadic
#BA4BB9 #B9BA4B #4BB9BA
tetradic
#BA4BB9 #BA834B #4BBA4C #4B81BA
square
#BA4BB9 #BA834B #4BBA4C #4B81BA
split-complementary
#BA4BB9 #81BA4B #4BBA83
monochromatic
#642664 #903790 #BA4BB9 #CB77CA #DCA3DB

Accessibility & contrast

On white

4.38
#BA4BB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BA4BB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BB9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BB9#FFFFFF#000000##000000
##BA4BB91.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6FBC
Deuteranopia (green-blind)
#657EB6
Tritanopia (blue-blind)
#C0587B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba4bb9;
/* rgb */ color: rgb(186, 75, 185);
/* oklch */ color: oklch(60.0% 0.193 328.0);
Tailwind
colors: {
  custom: {
    50: '#d284ce',
    500: '#ba4bb9',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bb9;
$custom-light: #d284ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bb9",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 300.541,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5995,
    "c": 0.19341,
    "h": 328
  },
  "luminance": 0.18974
}

Semantic roles & 50–950 ramp

primary
#BA4BB9
secondary
#98C998
accent
#D45554
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA4BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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