#BA39D5#BA39D5

#BA39D5 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.8% C 0.239 H 320.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA39D5
RGBrgb(186, 57, 213)
HSLhsl(290, 65%, 53%)
HSVhsv(290, 73%, 84%)
CMYKcmyk(12.7%, 73.2%, 0%, 16.5%)
CIE-LABlab(49.70, 70.76, -54.83)
CIE-LCHlch(49.70, 89.52, 322.23°)
OKLaboklab(59.76% 0.1834 -0.1537)
OKLCHoklch(59.76% 0.239 320)
XYZxyz(33.7216, 18.1712, 64.6690)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA39D5 #54D539
analogous
#6C39D5 #BA39D5 #D539A2
triadic
#BA39D5 #D5BA39 #39D5BA
tetradic
#BA39D5 #D56C39 #54D539 #39A2D5
square
#BA39D5 #D56C39 #54D539 #39A2D5
split-complementary
#BA39D5 #A2D539 #39D56C
monochromatic
#691A7A #9525AC #BA39D5 #CC6BE0 #DD9EEA

Accessibility & contrast

On white

4.53
#BA39D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BA39D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA39D5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA39D5#FFFFFF#000000##000000
##BA39D51.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#477BD1
Tritanopia (blue-blind)
#BB5885
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba39d5;
/* rgb */ color: rgb(186, 57, 213);
/* oklch */ color: oklch(59.8% 0.239 320.0);
Tailwind
colors: {
  custom: {
    50: '#d37ce3',
    500: '#ba39d5',
    950: '#000000',
  },
}
SCSS
$custom: #ba39d5;
$custom-light: #d37ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba39d5",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 213
  },
  "hsl": {
    "h": 289.615,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.23927,
    "h": 320
  },
  "luminance": 0.18169
}

Semantic roles & 50–950 ramp

primary
#BA39D5
secondary
#9FD793
accent
#E8405D
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B15
muted
#837C84

Preview Lab

Preview with #BA39D5

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

Preview Lab → · Contrast checker → · Palette generator →

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