#BA4EEF#BA4EEF

#BA4EEF is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.4% C 0.238 H 312.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA4EEF
RGBrgb(186, 78, 239)
HSLhsl(280, 83%, 62%)
HSVhsv(280, 67%, 94%)
CMYKcmyk(22.2%, 67.4%, 0%, 6.3%)
CIE-LABlab(54.16, 67.72, -62.39)
CIE-LCHlch(54.16, 92.08, 317.35°)
OKLaboklab(63.45% 0.1605 -0.176)
OKLCHoklch(63.45% 0.238 312.4)
XYZxyz(38.5513, 22.1209, 83.8836)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4EEF #83EF4E
analogous
#694EEF #BA4EEF #EF4ED4
triadic
#BA4EEF #EFBA4E #4EEFBA
tetradic
#BA4EEF #EF694E #83EF4E #4ED4EF
square
#BA4EEF #EF694E #83EF4E #4ED4EF
split-complementary
#BA4EEF #D4EF4E #4EEF69
monochromatic
#7D10B2 #A416EA #BA4EEF #D086F4 #E6BEF9

Accessibility & contrast

On white

3.87
#BA4EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#BA4EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4EEF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4EEF#FFFFFF#000000##000000
##BA4EEF1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#3F84EB
Tritanopia (blue-blind)
#B46F99
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba4eef;
/* rgb */ color: rgb(186, 78, 239);
/* oklch */ color: oklch(63.4% 0.238 312.4);
Tailwind
colors: {
  custom: {
    50: '#d387f5',
    500: '#ba4eef',
    950: '#000000',
  },
}
SCSS
$custom: #ba4eef;
$custom-light: #d387f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4eef",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 239
  },
  "hsl": {
    "h": 280.248,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6345,
    "c": 0.23821,
    "h": 312.4
  },
  "luminance": 0.2212
}

Semantic roles & 50–950 ramp

primary
#BA4EEF
secondary
#C2EAAF
accent
#E0064D
background
#FDF8FF
surface
#FBF0FE
border
#D4CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA4EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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