#BA39C7#BA39C7

#BA39C7 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.9% C 0.228 H 323.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA39C7
RGBrgb(186, 57, 199)
HSLhsl(295, 56%, 50%)
HSVhsv(295, 71%, 78%)
CMYKcmyk(6.5%, 71.4%, 0%, 22%)
CIE-LABlab(48.87, 68.29, -48.12)
CIE-LCHlch(48.87, 83.54, 324.83°)
OKLaboklab(58.9% 0.1842 -0.1341)
OKLCHoklch(58.9% 0.228 323.9)
XYZxyz(32.0207, 17.4908, 55.7112)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA39C7 #46C739
analogous
#7339C7 #BA39C7 #C7398D
triadic
#BA39C7 #C7BA39 #39C7BA
tetradic
#BA39C7 #C77339 #46C739 #398DC7
square
#BA39C7 #C77339 #46C739 #398DC7
split-complementary
#BA39C7 #8DC739 #39C773
monochromatic
#611D68 #8E2B98 #BA39C7 #CB69D4 #DB98E2

Accessibility & contrast

On white

4.67
#BA39C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BA39C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA39C7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA39C7#FFFFFF#000000##FFFFFF
##BA39C71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036ACB
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#BD527D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba39c7;
/* rgb */ color: rgb(186, 57, 199);
/* oklch */ color: oklch(58.9% 0.228 323.9);
Tailwind
colors: {
  custom: {
    50: '#d37cd8',
    500: '#ba39c7',
    950: '#000000',
  },
}
SCSS
$custom: #ba39c7;
$custom-light: #d37cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba39c7",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 294.507,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58902,
    "c": 0.22783,
    "h": 323.9
  },
  "luminance": 0.17489
}

Semantic roles & 50–950 ramp

primary
#BA39C7
secondary
#94CE8E
accent
#DF4956
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A15
muted
#837C83

Preview Lab

Preview with #BA39C7

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

Preview Lab → · Contrast checker → · Palette generator →

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