#BA4EBF#BA4EBF

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

Color values

HEX#BA4EBF
RGBrgb(186, 78, 191)
HSLhsl(297, 47%, 53%)
HSVhsv(297, 59%, 75%)
CMYKcmyk(2.6%, 59.2%, 0%, 25.1%)
CIE-LABlab(51.44, 58.50, -39.42)
CIE-LCHlch(51.44, 70.54, 326.03°)
OKLaboklab(60.62% 0.1608 -0.109)
OKLCHoklch(60.62% 0.194 325.9)
XYZxyz(32.3774, 19.6514, 51.3678)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4EBF #53BF4E
analogous
#814EBF #BA4EBF #BF4E8C
triadic
#BA4EBF #BFBA4E #4EBFBA
tetradic
#BA4EBF #BF814E #53BF4E #4E8CBF
square
#BA4EBF #BF814E #53BF4E #4E8CBF
split-complementary
#BA4EBF #8CBF4E #4EBF81
monochromatic
#69276C #943799 #BA4EBF #CC7BCF #DDA8E0

Accessibility & contrast

On white

4.26
#BA4EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#BA4EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4EBF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4EBF#FFFFFF#000000##000000
##BA4EBF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#647FBC
Tritanopia (blue-blind)
#BE5D7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4ebf;
/* rgb */ color: rgb(186, 78, 191);
/* oklch */ color: oklch(60.6% 0.194 325.9);
Tailwind
colors: {
  custom: {
    50: '#d286d3',
    500: '#ba4ebf',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ebf;
$custom-light: #d286d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ebf",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 297.345,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60616,
    "c": 0.19427,
    "h": 325.9
  },
  "luminance": 0.19649
}

Semantic roles & 50–950 ramp

primary
#BA4EBF
secondary
#9ECD9C
accent
#D75157
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA4EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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