#BA39C1#BA39C1

#BA39C1 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.223 H 325.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BA39C1
RGBrgb(186, 57, 193)
HSLhsl(297, 54%, 49%)
HSVhsv(297, 70%, 76%)
CMYKcmyk(3.6%, 70.5%, 0%, 24.3%)
CIE-LABlab(48.53, 67.26, -45.18)
CIE-LCHlch(48.53, 81.03, 326.11°)
OKLaboklab(58.55% 0.1843 -0.1255)
OKLCHoklch(58.55% 0.223 325.7)
XYZxyz(31.3378, 17.2177, 52.1145)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA39C1 #40C139
analogous
#7639C1 #BA39C1 #C13984
triadic
#BA39C1 #C1BA39 #39C1BA
tetradic
#BA39C1 #C17639 #40C139 #3984C1
square
#BA39C1 #C17639 #40C139 #3984C1
split-complementary
#BA39C1 #84C139 #39C176
monochromatic
#5F1D63 #8C2B92 #BA39C1 #CC66D2 #DC95E0

Accessibility & contrast

On white

4.73
#BA39C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BA39C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA39C1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA39C1#FFFFFF#000000##FFFFFF
##BA39C11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1769C5
Deuteranopia (green-blind)
#5679BE
Tritanopia (blue-blind)
#BF4F79
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba39c1;
/* rgb */ color: rgb(186, 57, 193);
/* oklch */ color: oklch(58.6% 0.223 325.7);
Tailwind
colors: {
  custom: {
    50: '#d27bd4',
    500: '#ba39c1',
    950: '#000000',
  },
}
SCSS
$custom: #ba39c1;
$custom-light: #d27bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba39c1",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 296.912,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.22302,
    "h": 325.7
  },
  "luminance": 0.17216
}

Semantic roles & 50–950 ramp

primary
#BA39C1
secondary
#8ECB8B
accent
#DE4A52
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA39C1

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

Preview Lab → · Contrast checker → · Palette generator →

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