#BA4DC3#BA4DC3

#BA4DC3 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.7% C 0.199 H 324.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BA4DC3
RGBrgb(186, 77, 195)
HSLhsl(295, 50%, 53%)
HSVhsv(295, 61%, 76%)
CMYKcmyk(4.6%, 60.5%, 0%, 23.5%)
CIE-LABlab(51.48, 59.67, -41.66)
CIE-LCHlch(51.48, 72.77, 325.08°)
OKLaboklab(60.71% 0.1623 -0.1155)
OKLCHoklch(60.71% 0.199 324.6)
XYZxyz(32.7531, 19.6888, 53.6943)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DC3 #56C34D
analogous
#7F4DC3 #BA4DC3 #C34D91
triadic
#BA4DC3 #C3BA4D #4DC3BA
tetradic
#BA4DC3 #C37F4D #56C34D #4D91C3
square
#BA4DC3 #C37F4D #56C34D #4D91C3
split-complementary
#BA4DC3 #91C34D #4DC37F
monochromatic
#6A2670 #96359E #BA4DC3 #CC7BD2 #DDA9E2

Accessibility & contrast

On white

4.25
#BA4DC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#BA4DC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DC3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DC3#FFFFFF#000000##000000
##BA4DC31.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3972C7
Deuteranopia (green-blind)
#617FC0
Tritanopia (blue-blind)
#BE5E81
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4dc3;
/* rgb */ color: rgb(186, 77, 195);
/* oklch */ color: oklch(60.7% 0.199 324.6);
Tailwind
colors: {
  custom: {
    50: '#d285d5',
    500: '#ba4dc3',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dc3;
$custom-light: #d285d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dc3",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 295.424,
    "s": 49.58,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60714,
    "c": 0.1992,
    "h": 324.6
  },
  "luminance": 0.19687
}

Semantic roles & 50–950 ramp

primary
#BA4DC3
secondary
#A0CF9D
accent
#D94F59
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA4DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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