#BA39AC#BA39AC

#BA39AC is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.207 H 332.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA39AC
RGBrgb(186, 57, 172)
HSLhsl(307, 53%, 48%)
HSVhsv(307, 69%, 73%)
CMYKcmyk(0%, 69.4%, 7.5%, 27.1%)
CIE-LABlab(47.43, 63.84, -34.65)
CIE-LCHlch(47.43, 72.63, 331.51°)
OKLaboklab(57.39% 0.1837 -0.095)
OKLCHoklch(57.39% 0.207 332.6)
XYZxyz(29.1593, 16.3463, 40.6411)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA39AC #39BA47
analogous
#8839BA #BA39AC #BA396B
triadic
#BA39AC #ACBA39 #39ACBA
tetradic
#BA39AC #BA8839 #39BA47 #396BBA
square
#BA39AC #BA8839 #39BA47 #396BBA
split-complementary
#BA39AC #6BBA39 #39BA88
monochromatic
#5C1C55 #8B2B81 #BA39AC #CF61C3 #DD90D5

Accessibility & contrast

On white

4.92
#BA39AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BA39AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA39AC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA39AC#FFFFFF#000000##FFFFFF
##BA39AC1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3365AF
Deuteranopia (green-blind)
#6277A9
Tritanopia (blue-blind)
#C2466E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba39ac;
/* rgb */ color: rgb(186, 57, 172);
/* oklch */ color: oklch(57.4% 0.207 332.6);
Tailwind
colors: {
  custom: {
    50: '#d27bc5',
    500: '#ba39ac',
    950: '#000000',
  },
}
SCSS
$custom: #ba39ac;
$custom-light: #d27bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba39ac",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 306.512,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57394,
    "c": 0.20678,
    "h": 332.6
  },
  "luminance": 0.16344
}

Semantic roles & 50–950 ramp

primary
#BA39AC
secondary
#87C88E
accent
#DC5B4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA39AC

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

Preview Lab → · Contrast checker → · Palette generator →

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