#BA4EBE#BA4EBE

#BA4EBE is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.6% C 0.193 H 326.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA4EBE
RGBrgb(186, 78, 190)
HSLhsl(298, 46%, 53%)
HSVhsv(298, 59%, 75%)
CMYKcmyk(2.1%, 58.9%, 0%, 25.5%)
CIE-LABlab(51.39, 58.33, -38.92)
CIE-LCHlch(51.39, 70.12, 326.29°)
OKLaboklab(60.56% 0.1608 -0.1075)
OKLCHoklch(60.56% 0.193 326.2)
XYZxyz(32.2677, 19.6075, 50.7902)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4EBE #52BE4E
analogous
#824EBE #BA4EBE #BE4E8A
triadic
#BA4EBE #BEBA4E #4EBEBA
tetradic
#BA4EBE #BE824E #52BE4E #4E8ABE
square
#BA4EBE #BE824E #52BE4E #4E8ABE
split-complementary
#BA4EBE #8ABE4E #4EBE82
monochromatic
#68276A #943897 #BA4EBE #CB7BCE #DDA8DF

Accessibility & contrast

On white

4.27
#BA4EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BA4EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4EBE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4EBE#FFFFFF#000000##000000
##BA4EBE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4ebe;
/* rgb */ color: rgb(186, 78, 190);
/* oklch */ color: oklch(60.6% 0.193 326.2);
Tailwind
colors: {
  custom: {
    50: '#d286d2',
    500: '#ba4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ebe;
$custom-light: #d286d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ebe",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 297.857,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60563,
    "c": 0.1934,
    "h": 326.2
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

primary
#BA4EBE
secondary
#9DCC9C
accent
#D65257
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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