#BA4CD4#BA4CD4

#BA4CD4 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.6% C 0.216 H 319.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BA4CD4
RGBrgb(186, 76, 212)
HSLhsl(289, 61%, 56%)
HSVhsv(289, 64%, 83%)
CMYKcmyk(12.3%, 64.2%, 0%, 16.9%)
CIE-LABlab(52.25, 63.25, -50.20)
CIE-LCHlch(52.25, 80.75, 321.56°)
OKLaboklab(61.56% 0.164 -0.1403)
OKLCHoklch(61.56% 0.216 319.4)
XYZxyz(34.7163, 20.3630, 64.3764)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CD4 #66D44C
analogous
#764CD4 #BA4CD4 #D44CAA
triadic
#BA4CD4 #D4BA4C #4CD4BA
tetradic
#BA4CD4 #D4764C #66D44C #4CAAD4
square
#BA4CD4 #D4764C #66D44C #4CAAD4
split-complementary
#BA4CD4 #AAD44C #4CD476
monochromatic
#722086 #9C2CB7 #BA4CD4 #CD7DE0 #E0AFEC

Accessibility & contrast

On white

4.14
#BA4CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#BA4CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CD4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CD4#FFFFFF#000000##000000
##BA4CD41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2275D8
Deuteranopia (green-blind)
#5680D1
Tritanopia (blue-blind)
#BA638A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4cd4;
/* rgb */ color: rgb(186, 76, 212);
/* oklch */ color: oklch(61.6% 0.216 319.4);
Tailwind
colors: {
  custom: {
    50: '#d285e2',
    500: '#ba4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cd4;
$custom-light: #d285e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cd4",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 288.529,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61562,
    "c": 0.21579,
    "h": 319.4
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#BA4CD4
secondary
#ADDAA2
accent
#E44362
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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