#BA3AD3#BA3AD3

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

Color values

HEX#BA3AD3
RGBrgb(186, 58, 211)
HSLhsl(290, 63%, 53%)
HSVhsv(290, 73%, 83%)
CMYKcmyk(11.8%, 72.5%, 0%, 17.3%)
CIE-LABlab(49.70, 70.06, -53.69)
CIE-LCHlch(49.70, 88.27, 322.53°)
OKLaboklab(59.72% 0.1826 -0.1504)
OKLCHoklch(59.72% 0.237 320.5)
XYZxyz(33.5192, 18.1701, 63.3570)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AD3 #53D33A
analogous
#6D3AD3 #BA3AD3 #D33A9F
triadic
#BA3AD3 #D3BA3A #3AD3BA
tetradic
#BA3AD3 #D36D3A #53D33A #3A9FD3
square
#BA3AD3 #D36D3A #53D33A #3A9FD3
split-complementary
#BA3AD3 #9FD33A #3AD36D
monochromatic
#691B78 #9426AA #BA3AD3 #CC6CDE #DD9EE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3AD3#FFFFFF#000000##000000
##BA3AD31.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)
#006DD7
Deuteranopia (green-blind)
#4A7BCF
Tritanopia (blue-blind)
#BB5884
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba3ad3;
/* rgb */ color: rgb(186, 58, 211);
/* oklch */ color: oklch(59.7% 0.237 320.5);
Tailwind
colors: {
  custom: {
    50: '#d37ce1',
    500: '#ba3ad3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ad3;
$custom-light: #d37ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ad3",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 211
  },
  "hsl": {
    "h": 290.196,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5972,
    "c": 0.23656,
    "h": 320.5
  },
  "luminance": 0.18168
}

Semantic roles & 50–950 ramp

primary
#BA3AD3
secondary
#9ED693
accent
#E7415C
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA3AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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