#BA44E5#BA44E5

#BA44E5 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.8% C 0.241 H 315.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BA44E5
RGBrgb(186, 68, 229)
HSLhsl(284, 76%, 58%)
HSVhsv(284, 70%, 90%)
CMYKcmyk(18.8%, 70.3%, 0%, 10.2%)
CIE-LABlab(52.10, 69.76, -60.08)
CIE-LCHlch(52.10, 92.06, 319.27°)
OKLaboklab(61.78% 0.1715 -0.1692)
OKLCHoklch(61.78% 0.241 315.4)
XYZxyz(36.4574, 20.2318, 76.0982)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44E5 #6FE544
analogous
#6944E5 #BA44E5 #E544C0
triadic
#BA44E5 #E5BA44 #44E5BA
tetradic
#BA44E5 #E56944 #6FE544 #44C0E5
square
#BA44E5 #E56944 #6FE544 #44C0E5
split-complementary
#BA44E5 #C0E544 #44E569
monochromatic
#761599 #9F1DCF #BA44E5 #CE7AEC #E2AFF4

Accessibility & contrast

On white

4.16
#BA44E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#BA44E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA44E5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44E5#FFFFFF#000000##000000
##BA44E51.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#407FE1
Tritanopia (blue-blind)
#B76590
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba44e5;
/* rgb */ color: rgb(186, 68, 229);
/* oklch */ color: oklch(61.8% 0.241 315.4);
Tailwind
colors: {
  custom: {
    50: '#d382ee',
    500: '#ba44e5',
    950: '#000000',
  },
}
SCSS
$custom: #ba44e5;
$custom-light: #d382ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44e5",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 229
  },
  "hsl": {
    "h": 283.975,
    "s": 75.587,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61781,
    "c": 0.24091,
    "h": 315.4
  },
  "luminance": 0.2023
}

Semantic roles & 50–950 ramp

primary
#BA44E5
secondary
#B3E2A2
accent
#F23668
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA44E5

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

Preview Lab → · Contrast checker → · Palette generator →

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