#BA4DEA#BA4DEA

#BA4DEA is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.0% C 0.235 H 313.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BA4DEA
RGBrgb(186, 77, 234)
HSLhsl(282, 79%, 61%)
HSVhsv(282, 67%, 92%)
CMYKcmyk(20.5%, 67.1%, 0%, 8.2%)
CIE-LABlab(53.69, 67.13, -60.32)
CIE-LCHlch(53.69, 90.25, 318.06°)
OKLaboklab(63.02% 0.162 -0.1699)
OKLCHoklch(63.02% 0.235 313.6)
XYZxyz(37.7523, 21.6885, 80.0236)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DEA #7DEA4D
analogous
#6B4DEA #BA4DEA #EA4DCB
triadic
#BA4DEA #EABA4D #4DEABA
tetradic
#BA4DEA #EA6B4D #7DEA4D #4DCBEA
square
#BA4DEA #EA6B4D #7DEA4D #4DCBEA
split-complementary
#BA4DEA #CBEA4D #4DEA6B
monochromatic
#7B14A9 #A31ADF #BA4DEA #CF84F0 #E4BAF7

Accessibility & contrast

On white

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

On black

5.34
#BA4DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DEA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DEA#FFFFFF#000000##000000
##BA4DEA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#4383E6
Tritanopia (blue-blind)
#B56D96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba4dea;
/* rgb */ color: rgb(186, 77, 234);
/* oklch */ color: oklch(63.0% 0.235 313.6);
Tailwind
colors: {
  custom: {
    50: '#d387f1',
    500: '#ba4dea',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dea;
$custom-light: #d387f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dea",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 281.656,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63021,
    "c": 0.23477,
    "h": 313.6
  },
  "luminance": 0.21687
}

Semantic roles & 50–950 ramp

primary
#BA4DEA
secondary
#BEE7AC
accent
#DB0A4A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA4DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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