#BA4CD6#BA4CD6

#BA4CD6 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.218 H 318.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BA4CD6
RGBrgb(186, 76, 214)
HSLhsl(288, 63%, 57%)
HSVhsv(288, 64%, 84%)
CMYKcmyk(13.1%, 64.5%, 0%, 16.1%)
CIE-LABlab(52.36, 63.63, -51.16)
CIE-LCHlch(52.36, 81.65, 321.20°)
OKLaboklab(61.68% 0.1639 -0.1431)
OKLCHoklch(61.68% 0.218 318.9)
XYZxyz(34.9701, 20.4646, 65.7133)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CD6 #68D64C
analogous
#754CD6 #BA4CD6 #D64CAD
triadic
#BA4CD6 #D6BA4C #4CD6BA
tetradic
#BA4CD6 #D6754C #68D64C #4CADD6
square
#BA4CD6 #D6754C #68D64C #4CADD6
split-complementary
#BA4CD6 #ADD64C #4CD675
monochromatic
#731F88 #9D2BBA #BA4CD6 #CD7EE1 #E0B0ED

Accessibility & contrast

On white

4.12
#BA4CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#BA4CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CD6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CD6#FFFFFF#000000##000000
##BA4CD61.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E76DA
Deuteranopia (green-blind)
#5481D3
Tritanopia (blue-blind)
#BA648B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4cd6;
/* rgb */ color: rgb(186, 76, 214);
/* oklch */ color: oklch(61.7% 0.218 318.9);
Tailwind
colors: {
  custom: {
    50: '#d285e3',
    500: '#ba4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cd6;
$custom-light: #d285e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cd6",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 287.826,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6168,
    "c": 0.21761,
    "h": 318.9
  },
  "luminance": 0.20463
}

Semantic roles & 50–950 ramp

primary
#BA4CD6
secondary
#AEDBA3
accent
#E64263
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #BA4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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