#BA50E5#BA50E5

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

Color values

HEX#BA50E5
RGBrgb(186, 80, 229)
HSLhsl(283, 74%, 61%)
HSVhsv(283, 65%, 90%)
CMYKcmyk(18.8%, 65.1%, 0%, 10.2%)
CIE-LABlab(53.85, 64.85, -57.26)
CIE-LCHlch(53.85, 86.51, 318.56°)
OKLaboklab(63.04% 0.159 -0.161)
OKLCHoklch(63.04% 0.226 314.7)
XYZxyz(37.2589, 21.8348, 76.3654)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA50E5 #7BE550
analogous
#7050E5 #BA50E5 #E550C5
triadic
#BA50E5 #E5BA50 #50E5BA
tetradic
#BA50E5 #E57050 #7BE550 #50C5E5
square
#BA50E5 #E57050 #7BE550 #50C5E5
split-complementary
#BA50E5 #C5E550 #50E570
monochromatic
#7B18A2 #A320D8 #BA50E5 #CF85ED #E4BBF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA50E5#FFFFFF#000000##000000
##BA50E51.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)
#007BE9
Deuteranopia (green-blind)
#4B83E2
Tritanopia (blue-blind)
#B66D94
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba50e5;
/* rgb */ color: rgb(186, 80, 229);
/* oklch */ color: oklch(63.0% 0.226 314.7);
Tailwind
colors: {
  custom: {
    50: '#d388ee',
    500: '#ba50e5',
    950: '#000000',
  },
}
SCSS
$custom: #ba50e5;
$custom-light: #d388ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ba50e5",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 282.685,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63037,
    "c": 0.2263,
    "h": 314.7
  },
  "luminance": 0.21834
}

Semantic roles & 50–950 ramp

primary
#BA50E5
secondary
#BCE5AC
accent
#D60F49
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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