#BA4BBD#BA4BBD

#BA4BBD is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.2% C 0.197 H 326.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA4BBD
RGBrgb(186, 75, 189)
HSLhsl(298, 46%, 52%)
HSVhsv(298, 60%, 74%)
CMYKcmyk(1.6%, 60.3%, 0%, 25.9%)
CIE-LABlab(50.86, 59.47, -39.18)
CIE-LCHlch(50.86, 71.21, 326.62°)
OKLaboklab(60.16% 0.1644 -0.1082)
OKLCHoklch(60.16% 0.197 326.6)
XYZxyz(31.9505, 19.1474, 50.1472)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BBD #4EBD4B
analogous
#814BBD #BA4BBD #BD4B87
triadic
#BA4BBD #BDBA4B #4BBDBA
tetradic
#BA4BBD #BD814B #4EBD4B #4B87BD
square
#BA4BBD #BD814B #4EBD4B #4B87BD
split-complementary
#BA4BBD #87BD4B #4BBD81
monochromatic
#662668 #923694 #BA4BBD #CB78CD #DCA5DE

Accessibility & contrast

On white

4.35
#BA4BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#BA4BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BBD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BBD#FFFFFF#000000##000000
##BA4BBD1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C70C0
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#BF5A7D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba4bbd;
/* rgb */ color: rgb(186, 75, 189);
/* oklch */ color: oklch(60.2% 0.197 326.6);
Tailwind
colors: {
  custom: {
    50: '#d284d1',
    500: '#ba4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bbd;
$custom-light: #d284d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bbd",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 298.421,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.6016,
    "c": 0.19681,
    "h": 326.6
  },
  "luminance": 0.19145
}

Semantic roles & 50–950 ramp

primary
#BA4BBD
secondary
#9ACB99
accent
#D65255
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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