#BA50EA#BA50EA

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

Color values

HEX#BA50EA
RGBrgb(186, 80, 234)
HSLhsl(281, 79%, 62%)
HSVhsv(281, 66%, 92%)
CMYKcmyk(20.5%, 65.8%, 0%, 8.2%)
CIE-LABlab(54.15, 65.86, -59.59)
CIE-LCHlch(54.15, 88.81, 317.86°)
OKLaboklab(63.35% 0.1588 -0.1678)
OKLCHoklch(63.35% 0.231 313.4)
XYZxyz(37.9671, 22.1181, 80.0952)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA50EA #80EA50
analogous
#6D50EA #BA50EA #EA50CD
triadic
#BA50EA #EABA50 #50EABA
tetradic
#BA50EA #EA6D50 #80EA50 #50CDEA
square
#BA50EA #EA6D50 #80EA50 #50CDEA
split-complementary
#BA50EA #CDEA50 #50EA6D
monochromatic
#7C15AB #A41BE2 #BA50EA #D087F1 #E5BDF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA50EA#FFFFFF#000000##000000
##BA50EA1.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)
#007CEF
Deuteranopia (green-blind)
#4684E6
Tritanopia (blue-blind)
#B56F97
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba50ea;
/* rgb */ color: rgb(186, 80, 234);
/* oklch */ color: oklch(63.3% 0.231 313.4);
Tailwind
colors: {
  custom: {
    50: '#d388f1',
    500: '#ba50ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba50ea;
$custom-light: #d388f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba50ea",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 234
  },
  "hsl": {
    "h": 281.299,
    "s": 78.571,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63349,
    "c": 0.23102,
    "h": 313.4
  },
  "luminance": 0.22117
}

Semantic roles & 50–950 ramp

primary
#BA50EA
secondary
#C0E8AE
accent
#DB0B4C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA50EA

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

Preview Lab → · Contrast checker → · Palette generator →

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