#BA44B3#BA44B3

#BA44B3 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.9% C 0.198 H 330.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA44B3
RGBrgb(186, 68, 179)
HSLhsl(304, 46%, 50%)
HSVhsv(304, 63%, 73%)
CMYKcmyk(0%, 63.4%, 3.8%, 27.1%)
CIE-LABlab(49.29, 60.72, -35.83)
CIE-LCHlch(49.29, 70.50, 329.46°)
OKLaboklab(58.86% 0.172 -0.0985)
OKLCHoklch(58.86% 0.198 330.2)
XYZxyz(30.4533, 17.8302, 44.4767)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44B3 #44BA4B
analogous
#8644BA #BA44B3 #BA4478
triadic
#BA44B3 #B3BA44 #44B3BA
tetradic
#BA44B3 #BA8644 #44BA4B #4478BA
square
#BA44B3 #BA8644 #44BA4B #4478BA
split-complementary
#BA44B3 #78BA44 #44BA86
monochromatic
#60235D #8D3488 #BA44B3 #CB70C5 #DB9DD8

Accessibility & contrast

On white

4.60
#BA44B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BA44B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA44B3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44B3#FFFFFF#000000##FFFFFF
##BA44B31.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6BB6
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#C15175
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba44b3;
/* rgb */ color: rgb(186, 68, 179);
/* oklch */ color: oklch(58.9% 0.198 330.2);
Tailwind
colors: {
  custom: {
    50: '#d280ca',
    500: '#ba44b3',
    950: '#000000',
  },
}
SCSS
$custom: #ba44b3;
$custom-light: #d280ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44b3",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 179
  },
  "hsl": {
    "h": 303.559,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58857,
    "c": 0.19818,
    "h": 330.2
  },
  "luminance": 0.17828
}

Semantic roles & 50–950 ramp

primary
#BA44B3
secondary
#92C895
accent
#D65A52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA44B3

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

Preview Lab → · Contrast checker → · Palette generator →

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