#BA4DEB#BA4DEB

#BA4DEB is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.1% C 0.236 H 313.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA4DEB
RGBrgb(186, 77, 235)
HSLhsl(281, 80%, 61%)
HSVhsv(281, 67%, 92%)
CMYKcmyk(20.9%, 67.2%, 0%, 7.8%)
CIE-LABlab(53.76, 67.33, -60.79)
CIE-LCHlch(53.76, 90.71, 317.92°)
OKLaboklab(63.09% 0.1619 -0.1713)
OKLCHoklch(63.09% 0.236 313.4)
XYZxyz(37.8964, 21.7462, 80.7823)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DEB #7EEB4D
analogous
#6B4DEB #BA4DEB #EB4DCD
triadic
#BA4DEB #EBBA4D #4DEBBA
tetradic
#BA4DEB #EB6B4D #7EEB4D #4DCDEB
square
#BA4DEB #EB6B4D #7EEB4D #4DCDEB
split-complementary
#BA4DEB #CDEB4D #4DEB6B
monochromatic
#7C13AA #A319E1 #BA4DEB #CF84F1 #E5BBF7

Accessibility & contrast

On white

3.93
#BA4DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#BA4DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DEB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DEB#FFFFFF#000000##000000
##BA4DEB1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#4283E7
Tritanopia (blue-blind)
#B56D96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba4deb;
/* rgb */ color: rgb(186, 77, 235);
/* oklch */ color: oklch(63.1% 0.236 313.4);
Tailwind
colors: {
  custom: {
    50: '#d387f2',
    500: '#ba4deb',
    950: '#000000',
  },
}
SCSS
$custom: #ba4deb;
$custom-light: #d387f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4deb",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 281.392,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63085,
    "c": 0.23569,
    "h": 313.4
  },
  "luminance": 0.21745
}

Semantic roles & 50–950 ramp

primary
#BA4DEB
secondary
#BFE8AC
accent
#DC094B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA4DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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