#BA44E6#BA44E6

#BA44E6 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.8% C 0.242 H 315.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA44E6
RGBrgb(186, 68, 230)
HSLhsl(284, 76%, 58%)
HSVhsv(284, 70%, 90%)
CMYKcmyk(19.1%, 70.4%, 0%, 9.8%)
CIE-LABlab(52.16, 69.96, -60.54)
CIE-LCHlch(52.16, 92.51, 319.13°)
OKLaboklab(61.85% 0.1714 -0.1705)
OKLCHoklch(61.85% 0.242 315.2)
XYZxyz(36.5974, 20.2878, 76.8357)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44E6 #70E644
analogous
#6944E6 #BA44E6 #E644C1
triadic
#BA44E6 #E6BA44 #44E6BA
tetradic
#BA44E6 #E66944 #70E644 #44C1E6
square
#BA44E6 #E66944 #70E644 #44C1E6
split-complementary
#BA44E6 #C1E644 #44E669
monochromatic
#76159B #A01CD1 #BA44E6 #CE7AED #E2B0F4

Accessibility & contrast

On white

4.15
#BA44E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BA44E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA44E6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44E6#FFFFFF#000000##000000
##BA44E61.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#3F7FE2
Tritanopia (blue-blind)
#B66691
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba44e6;
/* rgb */ color: rgb(186, 68, 230);
/* oklch */ color: oklch(61.8% 0.242 315.2);
Tailwind
colors: {
  custom: {
    50: '#d382ef',
    500: '#ba44e6',
    950: '#000000',
  },
}
SCSS
$custom: #ba44e6;
$custom-light: #d382ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44e6",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 230
  },
  "hsl": {
    "h": 283.704,
    "s": 76.415,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61846,
    "c": 0.2418,
    "h": 315.2
  },
  "luminance": 0.20287
}

Semantic roles & 50–950 ramp

primary
#BA44E6
secondary
#B4E3A3
accent
#F33568
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA44E6

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

Preview Lab → · Contrast checker → · Palette generator →

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