#BA4CD3#BA4CD3

#BA4CD3 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.5% C 0.215 H 319.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA4CD3
RGBrgb(186, 76, 211)
HSLhsl(289, 61%, 56%)
HSVhsv(289, 64%, 83%)
CMYKcmyk(11.8%, 64%, 0%, 17.3%)
CIE-LABlab(52.19, 63.06, -49.72)
CIE-LCHlch(52.19, 80.30, 321.75°)
OKLaboklab(61.5% 0.164 -0.1389)
OKLCHoklch(61.5% 0.215 319.7)
XYZxyz(34.5905, 20.3127, 63.7141)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CD3 #65D34C
analogous
#774CD3 #BA4CD3 #D34CA9
triadic
#BA4CD3 #D3BA4C #4CD3BA
tetradic
#BA4CD3 #D3774C #65D34C #4CA9D3
square
#BA4CD3 #D3774C #65D34C #4CA9D3
split-complementary
#BA4CD3 #A9D34C #4CD377
monochromatic
#722084 #9C2DB5 #BA4CD3 #CD7DDF #E0AEEB

Accessibility & contrast

On white

4.15
#BA4CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BA4CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CD3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CD3#FFFFFF#000000##000000
##BA4CD31.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2475D7
Deuteranopia (green-blind)
#5680D0
Tritanopia (blue-blind)
#BB6389
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4cd3;
/* rgb */ color: rgb(186, 76, 211);
/* oklch */ color: oklch(61.5% 0.215 319.7);
Tailwind
colors: {
  custom: {
    50: '#d285e1',
    500: '#ba4cd3',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cd3;
$custom-light: #d285e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cd3",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 288.889,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61504,
    "c": 0.21489,
    "h": 319.7
  },
  "luminance": 0.20311
}

Semantic roles & 50–950 ramp

primary
#BA4CD3
secondary
#ACD9A2
accent
#E44462
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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