#BA3BD6#BA3BD6

#BA3BD6 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.0% C 0.238 H 319.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA3BD6
RGBrgb(186, 59, 214)
HSLhsl(289, 65%, 54%)
HSVhsv(289, 72%, 84%)
CMYKcmyk(13.1%, 72.4%, 0%, 16.1%)
CIE-LABlab(50.01, 70.25, -54.92)
CIE-LCHlch(50.01, 89.17, 321.98°)
OKLaboklab(60% 0.1814 -0.154)
OKLCHoklch(60% 0.238 319.7)
XYZxyz(33.9497, 18.4238, 65.3732)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BD6 #57D63B
analogous
#6C3BD6 #BA3BD6 #D63BA5
triadic
#BA3BD6 #D6BA3B #3BD6BA
tetradic
#BA3BD6 #D66C3B #57D63B #3BA5D6
square
#BA3BD6 #D66C3B #57D63B #3BA5D6
split-complementary
#BA3BD6 #A5D63B #3BD66C
monochromatic
#6B1A7D #9625AF #BA3BD6 #CC6EE1 #DEA0EB

Accessibility & contrast

On white

4.48
#BA3BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BA3BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3BD6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BD6#FFFFFF#000000##000000
##BA3BD61.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#487BD2
Tritanopia (blue-blind)
#BA5A86
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba3bd6;
/* rgb */ color: rgb(186, 59, 214);
/* oklch */ color: oklch(60.0% 0.238 319.7);
Tailwind
colors: {
  custom: {
    50: '#d37de3',
    500: '#ba3bd6',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bd6;
$custom-light: #d37de3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bd6",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 289.161,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59995,
    "c": 0.23798,
    "h": 319.7
  },
  "luminance": 0.18422
}

Semantic roles & 50–950 ramp

primary
#BA3BD6
secondary
#A1D895
accent
#E83F5E
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B15
muted
#837C84

Preview Lab

Preview with #BA3BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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