#BA4EEA#BA4EEA

#BA4EEA is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.1% C 0.234 H 313.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BA4EEA
RGBrgb(186, 78, 234)
HSLhsl(282, 79%, 61%)
HSVhsv(282, 67%, 92%)
CMYKcmyk(20.5%, 66.7%, 0%, 8.2%)
CIE-LABlab(53.85, 66.71, -60.08)
CIE-LCHlch(53.85, 89.78, 317.99°)
OKLaboklab(63.13% 0.1609 -0.1692)
OKLCHoklch(63.13% 0.234 313.6)
XYZxyz(37.8228, 21.8296, 80.0471)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4EEA #7EEA4E
analogous
#6C4EEA #BA4EEA #EA4ECC
triadic
#BA4EEA #EABA4E #4EEABA
tetradic
#BA4EEA #EA6C4E #7EEA4E #4ECCEA
square
#BA4EEA #EA6C4E #7EEA4E #4ECCEA
split-complementary
#BA4EEA #CCEA4E #4EEA6C
monochromatic
#7C14A9 #A31BE0 #BA4EEA #CF85F0 #E5BBF7

Accessibility & contrast

On white

3.91
#BA4EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#BA4EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4EEA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4EEA#FFFFFF#000000##000000
##BA4EEA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#4483E6
Tritanopia (blue-blind)
#B56D96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba4eea;
/* rgb */ color: rgb(186, 78, 234);
/* oklch */ color: oklch(63.1% 0.234 313.6);
Tailwind
colors: {
  custom: {
    50: '#d387f1',
    500: '#ba4eea',
    950: '#000000',
  },
}
SCSS
$custom: #ba4eea;
$custom-light: #d387f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4eea",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 234
  },
  "hsl": {
    "h": 281.538,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63129,
    "c": 0.23353,
    "h": 313.6
  },
  "luminance": 0.21828
}

Semantic roles & 50–950 ramp

primary
#BA4EEA
secondary
#BFE7AD
accent
#DB0A4B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA4EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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