#BA3DD9#BA3DD9

#BA3DD9 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.4% C 0.238 H 318.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA3DD9
RGBrgb(186, 61, 217)
HSLhsl(288, 67%, 55%)
HSVhsv(288, 72%, 85%)
CMYKcmyk(14.3%, 71.9%, 0%, 14.9%)
CIE-LABlab(50.44, 70.09, -55.94)
CIE-LCHlch(50.44, 89.68, 321.41°)
OKLaboklab(60.36% 0.1793 -0.157)
OKLCHoklch(60.36% 0.238 318.8)
XYZxyz(34.4411, 18.7880, 67.4445)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DD9 #5CD93D
analogous
#6C3DD9 #BA3DD9 #D93DAA
triadic
#BA3DD9 #D9BA3D #3DD9BA
tetradic
#BA3DD9 #D96C3D #5CD93D #3DAAD9
square
#BA3DD9 #D96C3D #5CD93D #3DAAD9
split-complementary
#BA3DD9 #AAD93D #3DD96C
monochromatic
#6D1982 #9824B5 #BA3DD9 #CC70E3 #DEA3ED

Accessibility & contrast

On white

4.41
#BA3DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BA3DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3DD9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DD9#FFFFFF#000000##000000
##BA3DD91.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#477CD5
Tritanopia (blue-blind)
#BA5C88
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba3dd9;
/* rgb */ color: rgb(186, 61, 217);
/* oklch */ color: oklch(60.4% 0.238 318.8);
Tailwind
colors: {
  custom: {
    50: '#d37ee5',
    500: '#ba3dd9',
    950: '#000000',
  },
}
SCSS
$custom: #ba3dd9;
$custom-light: #d37ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3dd9",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 288.077,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60361,
    "c": 0.23833,
    "h": 318.8
  },
  "luminance": 0.18786
}

Semantic roles & 50–950 ramp

primary
#BA3DD9
secondary
#A5DA98
accent
#EA3E60
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA3DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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