#BA39A9#BA39A9

#BA39A9 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.205 H 333.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA39A9
RGBrgb(186, 57, 169)
HSLhsl(308, 53%, 48%)
HSVhsv(308, 69%, 73%)
CMYKcmyk(0%, 69.4%, 9.1%, 27.1%)
CIE-LABlab(47.28, 63.37, -33.11)
CIE-LCHlch(47.28, 71.50, 332.42°)
OKLaboklab(57.24% 0.1834 -0.0906)
OKLCHoklch(57.24% 0.205 333.7)
XYZxyz(28.8745, 16.2323, 39.1408)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA39A9 #39BA4A
analogous
#8A39BA #BA39A9 #BA3968
triadic
#BA39A9 #A9BA39 #39A9BA
tetradic
#BA39A9 #BA8A39 #39BA4A #3968BA
square
#BA39A9 #BA8A39 #39BA4A #3968BA
split-complementary
#BA39A9 #68BA39 #39BA8A
monochromatic
#5C1C54 #8B2B7E #BA39A9 #CF61C0 #DD90D3

Accessibility & contrast

On white

4.95
#BA39A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#BA39A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA39A9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA39A9#FFFFFF#000000##FFFFFF
##BA39A91.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3664AC
Deuteranopia (green-blind)
#6377A6
Tritanopia (blue-blind)
#C2446C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba39a9;
/* rgb */ color: rgb(186, 57, 169);
/* oklch */ color: oklch(57.2% 0.205 333.7);
Tailwind
colors: {
  custom: {
    50: '#d27ac3',
    500: '#ba39a9',
    950: '#000000',
  },
}
SCSS
$custom: #ba39a9;
$custom-light: #d27ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba39a9",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 169
  },
  "hsl": {
    "h": 307.907,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5724,
    "c": 0.20456,
    "h": 333.7
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#BA39A9
secondary
#87C88F
accent
#DC5E4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA39A9

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

Preview Lab → · Contrast checker → · Palette generator →

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