#BA3DC4#BA3DC4

#BA3DC4 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.1% C 0.221 H 324.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA3DC4
RGBrgb(186, 61, 196)
HSLhsl(296, 53%, 50%)
HSVhsv(296, 69%, 77%)
CMYKcmyk(5.1%, 68.9%, 0%, 23.1%)
CIE-LABlab(49.21, 66.33, -45.85)
CIE-LCHlch(49.21, 80.63, 325.35°)
OKLaboklab(59.09% 0.1803 -0.1275)
OKLCHoklch(59.09% 0.221 324.7)
XYZxyz(31.8815, 17.7641, 53.9634)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DC4 #47C43D
analogous
#773DC4 #BA3DC4 #C43D8A
triadic
#BA3DC4 #C4BA3D #3DC4BA
tetradic
#BA3DC4 #C4773D #47C43D #3D8AC4
square
#BA3DC4 #C4773D #47C43D #3D8AC4
split-complementary
#BA3DC4 #8AC43D #3DC477
monochromatic
#621F67 #8E2E96 #BA3DC4 #CB6CD2 #DB9BE1

Accessibility & contrast

On white

4.61
#BA3DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#BA3DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3DC4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DC4#FFFFFF#000000##FFFFFF
##BA3DC41.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6BC8
Deuteranopia (green-blind)
#577AC1
Tritanopia (blue-blind)
#BE537C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3dc4;
/* rgb */ color: rgb(186, 61, 196);
/* oklch */ color: oklch(59.1% 0.221 324.7);
Tailwind
colors: {
  custom: {
    50: '#d27dd6',
    500: '#ba3dc4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3dc4;
$custom-light: #d27dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3dc4",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 295.556,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59088,
    "c": 0.22083,
    "h": 324.7
  },
  "luminance": 0.17762
}

Semantic roles & 50–950 ramp

primary
#BA3DC4
secondary
#95CD90
accent
#DD4B56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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