#BA4DC2#BA4DC2

#BA4DC2 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.7% C 0.198 H 324.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BA4DC2
RGBrgb(186, 77, 194)
HSLhsl(296, 49%, 53%)
HSVhsv(296, 60%, 76%)
CMYKcmyk(4.1%, 60.3%, 0%, 23.9%)
CIE-LABlab(51.43, 59.48, -41.16)
CIE-LCHlch(51.43, 72.34, 325.32°)
OKLaboklab(60.66% 0.1623 -0.114)
OKLCHoklch(60.66% 0.198 324.9)
XYZxyz(32.6404, 19.6438, 53.1009)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DC2 #55C24D
analogous
#7F4DC2 #BA4DC2 #C24D90
triadic
#BA4DC2 #C2BA4D #4DC2BA
tetradic
#BA4DC2 #C27F4D #55C24D #4D90C2
square
#BA4DC2 #C27F4D #55C24D #4D90C2
split-complementary
#BA4DC2 #90C24D #4DC27F
monochromatic
#6A266F #95369C #BA4DC2 #CC7BD2 #DDA8E1

Accessibility & contrast

On white

4.26
#BA4DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#BA4DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DC2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DC2#FFFFFF#000000##000000
##BA4DC21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A72C6
Deuteranopia (green-blind)
#627FBF
Tritanopia (blue-blind)
#BE5D80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4dc2;
/* rgb */ color: rgb(186, 77, 194);
/* oklch */ color: oklch(60.7% 0.198 324.9);
Tailwind
colors: {
  custom: {
    50: '#d285d5',
    500: '#ba4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dc2;
$custom-light: #d285d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dc2",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 295.897,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60659,
    "c": 0.19832,
    "h": 324.9
  },
  "luminance": 0.19642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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