#BA4CD5#BA4CD5

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

Color values

HEX#BA4CD5
RGBrgb(186, 76, 213)
HSLhsl(288, 62%, 57%)
HSVhsv(288, 64%, 84%)
CMYKcmyk(12.7%, 64.3%, 0%, 16.5%)
CIE-LABlab(52.30, 63.44, -50.68)
CIE-LCHlch(52.30, 81.20, 321.38°)
OKLaboklab(61.62% 0.164 -0.1417)
OKLCHoklch(61.62% 0.217 319.2)
XYZxyz(34.8428, 20.4137, 65.0428)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CD5 #67D54C
analogous
#764CD5 #BA4CD5 #D54CAC
triadic
#BA4CD5 #D5BA4C #4CD5BA
tetradic
#BA4CD5 #D5764C #67D54C #4CACD5
square
#BA4CD5 #D5764C #67D54C #4CACD5
split-complementary
#BA4CD5 #ACD54C #4CD576
monochromatic
#732087 #9D2BB9 #BA4CD5 #CD7EE1 #E0AFEC

Accessibility & contrast

On white

4.13
#BA4CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#BA4CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CD5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CD5#FFFFFF#000000##000000
##BA4CD51.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2075D9
Deuteranopia (green-blind)
#5580D2
Tritanopia (blue-blind)
#BA648A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4cd5;
/* rgb */ color: rgb(186, 76, 213);
/* oklch */ color: oklch(61.6% 0.217 319.2);
Tailwind
colors: {
  custom: {
    50: '#d285e2',
    500: '#ba4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cd5;
$custom-light: #d285e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cd5",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 288.175,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61621,
    "c": 0.2167,
    "h": 319.2
  },
  "luminance": 0.20412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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