#BA44E2#BA44E2

#BA44E2 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.6% C 0.238 H 316.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA44E2
RGBrgb(186, 68, 226)
HSLhsl(285, 73%, 58%)
HSVhsv(285, 70%, 89%)
CMYKcmyk(17.7%, 69.9%, 0%, 11.4%)
CIE-LABlab(51.91, 69.18, -58.68)
CIE-LCHlch(51.91, 90.72, 319.69°)
OKLaboklab(61.59% 0.1718 -0.1651)
OKLCHoklch(61.59% 0.238 316.1)
XYZxyz(36.0422, 20.0657, 73.9113)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44E2 #6CE244
analogous
#6B44E2 #BA44E2 #E244BB
triadic
#BA44E2 #E2BA44 #44E2BA
tetradic
#BA44E2 #E26B44 #6CE244 #44BBE2
square
#BA44E2 #E26B44 #6CE244 #44BBE2
split-complementary
#BA44E2 #BBE244 #44E26B
monochromatic
#751795 #9E1FCA #BA44E2 #CE79EA #E1AEF2

Accessibility & contrast

On white

4.19
#BA44E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#BA44E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA44E2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44E2#FFFFFF#000000##000000
##BA44E21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#437FDE
Tritanopia (blue-blind)
#B7648F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba44e2;
/* rgb */ color: rgb(186, 68, 226);
/* oklch */ color: oklch(61.6% 0.238 316.1);
Tailwind
colors: {
  custom: {
    50: '#d382ec',
    500: '#ba44e2',
    950: '#000000',
  },
}
SCSS
$custom: #ba44e2;
$custom-light: #d382ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44e2",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 226
  },
  "hsl": {
    "h": 284.81,
    "s": 73.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.23825,
    "h": 316.1
  },
  "luminance": 0.20064
}

Semantic roles & 50–950 ramp

primary
#BA44E2
secondary
#B1E1A1
accent
#F03867
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA44E2

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

Preview Lab → · Contrast checker → · Palette generator →

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