#BA39BC#BA39BC

#BA39BC is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.219 H 327.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA39BC
RGBrgb(186, 57, 188)
HSLhsl(299, 53%, 48%)
HSVhsv(299, 70%, 74%)
CMYKcmyk(1.1%, 69.7%, 0%, 26.3%)
CIE-LABlab(48.26, 66.42, -42.71)
CIE-LCHlch(48.26, 78.97, 327.26°)
OKLaboklab(58.26% 0.1843 -0.1184)
OKLCHoklch(58.26% 0.219 327.3)
XYZxyz(30.7895, 16.9983, 49.2265)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA39BC #3BBC39
analogous
#7839BC #BA39BC #BC397C
triadic
#BA39BC #BCBA39 #39BCBA
tetradic
#BA39BC #BC7839 #3BBC39 #397CBC
square
#BA39BC #BC7839 #3BBC39 #397CBC
split-complementary
#BA39BC #7CBC39 #39BC78
monochromatic
#5D1D5E #8C2B8D #BA39BC #CE63D0 #DD92DE

Accessibility & contrast

On white

4.77
#BA39BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#BA39BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA39BC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA39BC#FFFFFF#000000##FFFFFF
##BA39BC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C0
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#BF4D77
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba39bc;
/* rgb */ color: rgb(186, 57, 188);
/* oklch */ color: oklch(58.3% 0.219 327.3);
Tailwind
colors: {
  custom: {
    50: '#d27bd1',
    500: '#ba39bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba39bc;
$custom-light: #d27bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba39bc",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 299.084,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58263,
    "c": 0.21906,
    "h": 327.3
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#BA39BC
secondary
#89C988
accent
#DD4B4D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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