#BA39C3#BA39C3

#BA39C3 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.7% C 0.225 H 325.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BA39C3
RGBrgb(186, 57, 195)
HSLhsl(296, 55%, 49%)
HSVhsv(296, 71%, 76%)
CMYKcmyk(4.6%, 70.8%, 0%, 23.5%)
CIE-LABlab(48.65, 67.60, -46.16)
CIE-LCHlch(48.65, 81.86, 325.67°)
OKLaboklab(58.67% 0.1843 -0.1284)
OKLCHoklch(58.67% 0.225 325.1)
XYZxyz(31.5624, 17.3075, 53.2974)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA39C3 #42C339
analogous
#7539C3 #BA39C3 #C33987
triadic
#BA39C3 #C3BA39 #39C3BA
tetradic
#BA39C3 #C37539 #42C339 #3987C3
square
#BA39C3 #C37539 #42C339 #3987C3
split-complementary
#BA39C3 #87C339 #39C375
monochromatic
#601D64 #8D2B94 #BA39C3 #CB67D2 #DB96E0

Accessibility & contrast

On white

4.71
#BA39C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#BA39C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA39C3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA39C3#FFFFFF#000000##FFFFFF
##BA39C31.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1269C7
Deuteranopia (green-blind)
#5579C0
Tritanopia (blue-blind)
#BE507B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba39c3;
/* rgb */ color: rgb(186, 57, 195);
/* oklch */ color: oklch(58.7% 0.225 325.1);
Tailwind
colors: {
  custom: {
    50: '#d27bd6',
    500: '#ba39c3',
    950: '#000000',
  },
}
SCSS
$custom: #ba39c3;
$custom-light: #d27bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba39c3",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 296.087,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58666,
    "c": 0.22462,
    "h": 325.1
  },
  "luminance": 0.17305
}

Semantic roles & 50–950 ramp

primary
#BA39C3
secondary
#90CC8C
accent
#DE4A53
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA39C3

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

Preview Lab → · Contrast checker → · Palette generator →

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