#BA4CD2#BA4CD2

#BA4CD2 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.4% C 0.214 H 320.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BA4CD2
RGBrgb(186, 76, 210)
HSLhsl(289, 60%, 56%)
HSVhsv(289, 64%, 82%)
CMYKcmyk(11.4%, 63.8%, 0%, 17.6%)
CIE-LABlab(52.13, 62.87, -49.24)
CIE-LCHlch(52.13, 79.86, 321.94°)
OKLaboklab(61.45% 0.164 -0.1375)
OKLCHoklch(61.45% 0.214 320)
XYZxyz(34.4656, 20.2628, 63.0559)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CD2 #64D24C
analogous
#774CD2 #BA4CD2 #D24CA7
triadic
#BA4CD2 #D2BA4C #4CD2BA
tetradic
#BA4CD2 #D2774C #64D24C #4CA7D2
square
#BA4CD2 #D2774C #64D24C #4CA7D2
split-complementary
#BA4CD2 #A7D24C #4CD277
monochromatic
#712183 #9C2DB4 #BA4CD2 #CD7DDE #E0AEEB

Accessibility & contrast

On white

4.16
#BA4CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#BA4CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CD2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CD2#FFFFFF#000000##000000
##BA4CD21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2575D6
Deuteranopia (green-blind)
#5780CF
Tritanopia (blue-blind)
#BB6388
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4cd2;
/* rgb */ color: rgb(186, 76, 210);
/* oklch */ color: oklch(61.4% 0.214 320.0);
Tailwind
colors: {
  custom: {
    50: '#d285e0',
    500: '#ba4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cd2;
$custom-light: #d285e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cd2",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 289.254,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.21398,
    "h": 320
  },
  "luminance": 0.20261
}

Semantic roles & 50–950 ramp

primary
#BA4CD2
secondary
#ABD9A1
accent
#E34561
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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