#BA4DC5#BA4DC5

#BA4DC5 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 60.8% C 0.201 H 323.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA4DC5
RGBrgb(186, 77, 197)
HSLhsl(295, 51%, 54%)
HSVhsv(295, 61%, 77%)
CMYKcmyk(5.6%, 60.9%, 0%, 22.7%)
CIE-LABlab(51.59, 60.03, -42.65)
CIE-LCHlch(51.59, 73.64, 324.61°)
OKLaboklab(60.82% 0.1625 -0.1183)
OKLCHoklch(60.82% 0.201 323.9)
XYZxyz(32.9807, 19.7799, 54.8932)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DC5 #58C54D
analogous
#7E4DC5 #BA4DC5 #C54D94
triadic
#BA4DC5 #C5BA4D #4DC5BA
tetradic
#BA4DC5 #C57E4D #58C54D #4D94C5
square
#BA4DC5 #C57E4D #58C54D #4D94C5
split-complementary
#BA4DC5 #94C54D #4DC57E
monochromatic
#6B2572 #9734A0 #BA4DC5 #CC7BD4 #DEA9E3

Accessibility & contrast

On white

4.24
#BA4DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BA4DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DC5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DC5#FFFFFF#000000##000000
##BA4DC51.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3773C9
Deuteranopia (green-blind)
#607FC2
Tritanopia (blue-blind)
#BD5E82
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4dc5;
/* rgb */ color: rgb(186, 77, 197);
/* oklch */ color: oklch(60.8% 0.201 323.9);
Tailwind
colors: {
  custom: {
    50: '#d285d7',
    500: '#ba4dc5',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dc5;
$custom-light: #d285d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dc5",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 294.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60823,
    "c": 0.20097,
    "h": 323.9
  },
  "luminance": 0.19778
}

Semantic roles & 50–950 ramp

primary
#BA4DC5
secondary
#A2D19D
accent
#DA4D5A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA4DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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