#BA4DBE#BA4DBE

#BA4DBE is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.4% C 0.195 H 326.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA4DBE
RGBrgb(186, 77, 190)
HSLhsl(298, 47%, 52%)
HSVhsv(298, 59%, 75%)
CMYKcmyk(2.1%, 59.5%, 0%, 25.5%)
CIE-LABlab(51.23, 58.77, -39.17)
CIE-LCHlch(51.23, 70.63, 326.31°)
OKLaboklab(60.45% 0.162 -0.1083)
OKLCHoklch(60.45% 0.195 326.2)
XYZxyz(32.1972, 19.4665, 50.7667)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DBE #51BE4D
analogous
#814DBE #BA4DBE #BE4D8A
triadic
#BA4DBE #BEBA4D #4DBEBA
tetradic
#BA4DBE #BE814D #51BE4D #4D8ABE
square
#BA4DBE #BE814D #51BE4D #4D8ABE
split-complementary
#BA4DBE #8ABE4D #4DBE81
monochromatic
#68276A #933797 #BA4DBE #CB7ACE #DDA7DF

Accessibility & contrast

On white

4.29
#BA4DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#BA4DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DBE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DBE#FFFFFF#000000##000000
##BA4DBE1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C1
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#BF5C7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba4dbe;
/* rgb */ color: rgb(186, 77, 190);
/* oklch */ color: oklch(60.4% 0.195 326.2);
Tailwind
colors: {
  custom: {
    50: '#d285d2',
    500: '#ba4dbe',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dbe;
$custom-light: #d285d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dbe",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 297.876,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60445,
    "c": 0.19484,
    "h": 326.2
  },
  "luminance": 0.19465
}

Semantic roles & 50–950 ramp

primary
#BA4DBE
secondary
#9DCC9B
accent
#D65256
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA4DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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