#BA4BBE#BA4BBE

#BA4BBE is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.2% C 0.198 H 326.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA4BBE
RGBrgb(186, 75, 190)
HSLhsl(298, 47%, 52%)
HSVhsv(298, 61%, 75%)
CMYKcmyk(2.1%, 60.5%, 0%, 25.5%)
CIE-LABlab(50.91, 59.65, -39.68)
CIE-LCHlch(50.91, 71.64, 326.37°)
OKLaboklab(60.21% 0.1644 -0.1097)
OKLCHoklch(60.21% 0.198 326.3)
XYZxyz(32.0594, 19.1909, 50.7208)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BBE #4FBE4B
analogous
#814BBE #BA4BBE #BE4B89
triadic
#BA4BBE #BEBA4B #4BBEBA
tetradic
#BA4BBE #BE814B #4FBE4B #4B89BE
square
#BA4BBE #BE814B #4FBE4B #4B89BE
split-complementary
#BA4BBE #89BE4B #4BBE81
monochromatic
#662669 #923696 #BA4BBE #CB78CE #DCA5DE

Accessibility & contrast

On white

4.34
#BA4BBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#BA4BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BBE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BBE#FFFFFF#000000##000000
##BA4BBE1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B70C2
Deuteranopia (green-blind)
#637EBB
Tritanopia (blue-blind)
#BF5A7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba4bbe;
/* rgb */ color: rgb(186, 75, 190);
/* oklch */ color: oklch(60.2% 0.198 326.3);
Tailwind
colors: {
  custom: {
    50: '#d284d2',
    500: '#ba4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bbe;
$custom-light: #d284d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bbe",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 297.913,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60213,
    "c": 0.19767,
    "h": 326.3
  },
  "luminance": 0.19189
}

Semantic roles & 50–950 ramp

primary
#BA4BBE
secondary
#9BCC99
accent
#D75156
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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