#BA44E3#BA44E3

#BA44E3 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.7% C 0.239 H 315.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BA44E3
RGBrgb(186, 68, 227)
HSLhsl(285, 74%, 58%)
HSVhsv(285, 70%, 89%)
CMYKcmyk(18.1%, 70%, 0%, 11%)
CIE-LABlab(51.97, 69.38, -59.15)
CIE-LCHlch(51.97, 91.17, 319.55°)
OKLaboklab(61.65% 0.1717 -0.1664)
OKLCHoklch(61.65% 0.239 315.9)
XYZxyz(36.1798, 20.1208, 74.6360)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44E3 #6DE344
analogous
#6A44E3 #BA44E3 #E344BD
triadic
#BA44E3 #E3BA44 #44E3BA
tetradic
#BA44E3 #E36A44 #6DE344 #44BDE3
square
#BA44E3 #E36A44 #6DE344 #44BDE3
split-complementary
#BA44E3 #BDE344 #44E36A
monochromatic
#751696 #9F1ECB #BA44E3 #CE79EB #E1AEF3

Accessibility & contrast

On white

4.18
#BA44E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#BA44E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA44E3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44E3#FFFFFF#000000##000000
##BA44E31.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#427FDF
Tritanopia (blue-blind)
#B7648F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba44e3;
/* rgb */ color: rgb(186, 68, 227);
/* oklch */ color: oklch(61.7% 0.239 315.9);
Tailwind
colors: {
  custom: {
    50: '#d382ed',
    500: '#ba44e3',
    950: '#000000',
  },
}
SCSS
$custom: #ba44e3;
$custom-light: #d382ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44e3",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 227
  },
  "hsl": {
    "h": 284.528,
    "s": 73.953,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61652,
    "c": 0.23914,
    "h": 315.9
  },
  "luminance": 0.20119
}

Semantic roles & 50–950 ramp

primary
#BA44E3
secondary
#B2E1A2
accent
#F13767
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA44E3

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

Preview Lab → · Contrast checker → · Palette generator →

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