#BA3AD6#BA3AD6

#BA3AD6 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.9% C 0.239 H 319.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA3AD6
RGBrgb(186, 58, 214)
HSLhsl(289, 66%, 53%)
HSVhsv(289, 73%, 84%)
CMYKcmyk(13.1%, 72.9%, 0%, 16.1%)
CIE-LABlab(49.88, 70.60, -55.12)
CIE-LCHlch(49.88, 89.57, 322.02°)
OKLaboklab(59.91% 0.1824 -0.1546)
OKLCHoklch(59.91% 0.239 319.7)
XYZxyz(33.8988, 18.3220, 65.3562)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AD6 #56D63A
analogous
#6C3AD6 #BA3AD6 #D63AA4
triadic
#BA3AD6 #D6BA3A #3AD6BA
tetradic
#BA3AD6 #D66C3A #56D63A #3AA4D6
square
#BA3AD6 #D66C3A #56D63A #3AA4D6
split-complementary
#BA3AD6 #A4D63A #3AD66C
monochromatic
#6A1A7C #9624AE #BA3AD6 #CC6DE1 #DD9FEB

Accessibility & contrast

On white

4.50
#BA3AD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#BA3AD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3AD6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3AD6#FFFFFF#000000##000000
##BA3AD61.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3ad6;
/* rgb */ color: rgb(186, 58, 214);
/* oklch */ color: oklch(59.9% 0.239 319.7);
Tailwind
colors: {
  custom: {
    50: '#d37de3',
    500: '#ba3ad6',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ad6;
$custom-light: #d37de3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ad6",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 214
  },
  "hsl": {
    "h": 289.231,
    "s": 65.546,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59908,
    "c": 0.23904,
    "h": 319.7
  },
  "luminance": 0.1832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3AD6

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

Preview Lab → · Contrast checker → · Palette generator →

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