#BA39C0#BA39C0

#BA39C0 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.222 H 326.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA39C0
RGBrgb(186, 57, 192)
HSLhsl(297, 54%, 49%)
HSVhsv(297, 70%, 75%)
CMYKcmyk(3.1%, 70.3%, 0%, 24.7%)
CIE-LABlab(48.48, 67.09, -44.69)
CIE-LCHlch(48.48, 80.61, 326.33°)
OKLaboklab(58.49% 0.1843 -0.1241)
OKLCHoklch(58.49% 0.222 326)
XYZxyz(31.2266, 17.1732, 51.5290)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA39C0 #3FC039
analogous
#7739C0 #BA39C0 #C03983
triadic
#BA39C0 #C0BA39 #39C0BA
tetradic
#BA39C0 #C07739 #3FC039 #3983C0
square
#BA39C0 #C07739 #3FC039 #3983C0
split-complementary
#BA39C0 #83C039 #39C077
monochromatic
#5F1D62 #8C2B91 #BA39C0 #CC65D1 #DC94DF

Accessibility & contrast

On white

4.74
#BA39C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BA39C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA39C0
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA39C0#FFFFFF#000000##FFFFFF
##BA39C01.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1969C4
Deuteranopia (green-blind)
#5779BD
Tritanopia (blue-blind)
#BF4F79
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba39c0;
/* rgb */ color: rgb(186, 57, 192);
/* oklch */ color: oklch(58.5% 0.222 326.0);
Tailwind
colors: {
  custom: {
    50: '#d27bd3',
    500: '#ba39c0',
    950: '#000000',
  },
}
SCSS
$custom: #ba39c0;
$custom-light: #d27bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba39c0",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 297.333,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58492,
    "c": 0.22223,
    "h": 326
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#BA39C0
secondary
#8DCB8A
accent
#DE4A51
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA39C0

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

Preview Lab → · Contrast checker → · Palette generator →

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