#BA39BE#BA39BE

#BA39BE is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.221 H 326.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA39BE
RGBrgb(186, 57, 190)
HSLhsl(298, 54%, 48%)
HSVhsv(298, 70%, 75%)
CMYKcmyk(2.1%, 70%, 0%, 25.5%)
CIE-LABlab(48.37, 66.75, -43.70)
CIE-LCHlch(48.37, 79.79, 326.79°)
OKLaboklab(58.38% 0.1843 -0.1212)
OKLCHoklch(58.38% 0.221 326.7)
XYZxyz(31.0065, 17.0852, 50.3698)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA39BE #3DBE39
analogous
#7739BE #BA39BE #BE3980
triadic
#BA39BE #BEBA39 #39BEBA
tetradic
#BA39BE #BE7739 #3DBE39 #3980BE
square
#BA39BE #BE7739 #3DBE39 #3980BE
split-complementary
#BA39BE #80BE39 #39BE77
monochromatic
#5E1D60 #8C2B8F #BA39BE #CD64D0 #DC93DF

Accessibility & contrast

On white

4.75
#BA39BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BA39BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA39BE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA39BE#FFFFFF#000000##FFFFFF
##BA39BE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C2
Deuteranopia (green-blind)
#5878BB
Tritanopia (blue-blind)
#BF4E78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba39be;
/* rgb */ color: rgb(186, 57, 190);
/* oklch */ color: oklch(58.4% 0.221 326.7);
Tailwind
colors: {
  custom: {
    50: '#d27bd2',
    500: '#ba39be',
    950: '#000000',
  },
}
SCSS
$custom: #ba39be;
$custom-light: #d27bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba39be",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 298.195,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58377,
    "c": 0.22064,
    "h": 326.7
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#BA39BE
secondary
#8BCA89
accent
#DD4B4F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA39BE

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

Preview Lab → · Contrast checker → · Palette generator →

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