#BA4DC1#BA4DC1

#BA4DC1 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.6% C 0.197 H 325.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA4DC1
RGBrgb(186, 77, 193)
HSLhsl(296, 48%, 53%)
HSVhsv(296, 60%, 76%)
CMYKcmyk(3.6%, 60.1%, 0%, 24.3%)
CIE-LABlab(51.38, 59.31, -40.67)
CIE-LCHlch(51.38, 71.91, 325.56°)
OKLaboklab(60.61% 0.1622 -0.1126)
OKLCHoklch(60.61% 0.197 325.2)
XYZxyz(32.5285, 19.5990, 52.5114)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DC1 #54C14D
analogous
#804DC1 #BA4DC1 #C14D8E
triadic
#BA4DC1 #C1BA4D #4DC1BA
tetradic
#BA4DC1 #C1804D #54C14D #4D8EC1
square
#BA4DC1 #C1804D #54C14D #4D8EC1
split-complementary
#BA4DC1 #8EC14D #4DC180
monochromatic
#69266D #95369B #BA4DC1 #CC7AD1 #DDA8E1

Accessibility & contrast

On white

4.27
#BA4DC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BA4DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DC1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DC1#FFFFFF#000000##000000
##BA4DC11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B72C5
Deuteranopia (green-blind)
#627FBE
Tritanopia (blue-blind)
#BE5D80
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba4dc1;
/* rgb */ color: rgb(186, 77, 193);
/* oklch */ color: oklch(60.6% 0.197 325.2);
Tailwind
colors: {
  custom: {
    50: '#d285d4',
    500: '#ba4dc1',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dc1;
$custom-light: #d285d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dc1",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 296.379,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60606,
    "c": 0.19745,
    "h": 325.2
  },
  "luminance": 0.19597
}

Semantic roles & 50–950 ramp

primary
#BA4DC1
secondary
#9FCE9C
accent
#D85058
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA4DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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