#BA4DEF#BA4DEF

#BA4DEF is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.3% C 0.239 H 312.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BA4DEF
RGBrgb(186, 77, 239)
HSLhsl(280, 84%, 62%)
HSVhsv(280, 68%, 94%)
CMYKcmyk(22.2%, 67.8%, 0%, 6.3%)
CIE-LABlab(54.01, 68.14, -62.63)
CIE-LCHlch(54.01, 92.55, 317.41°)
OKLaboklab(63.34% 0.1616 -0.1767)
OKLCHoklch(63.34% 0.239 312.4)
XYZxyz(38.4808, 21.9799, 83.8601)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DEF #82EF4D
analogous
#694DEF #BA4DEF #EF4DD3
triadic
#BA4DEF #EFBA4D #4DEFBA
tetradic
#BA4DEF #EF694D #82EF4D #4DD3EF
square
#BA4DEF #EF694D #82EF4D #4DD3EF
split-complementary
#BA4DEF #D3EF4D #4DEF69
monochromatic
#7D10B2 #A415EA #BA4DEF #D085F4 #E6BDF9

Accessibility & contrast

On white

3.89
#BA4DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#BA4DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DEF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DEF#FFFFFF#000000##000000
##BA4DEF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4def;
/* rgb */ color: rgb(186, 77, 239);
/* oklch */ color: oklch(63.3% 0.239 312.4);
Tailwind
colors: {
  custom: {
    50: '#d387f5',
    500: '#ba4def',
    950: '#000000',
  },
}
SCSS
$custom: #ba4def;
$custom-light: #d387f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4def",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 239
  },
  "hsl": {
    "h": 280.37,
    "s": 83.505,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63343,
    "c": 0.23943,
    "h": 312.4
  },
  "luminance": 0.21979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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