#BA4BCD#BA4BCD

#BA4BCD is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.0% C 0.211 H 321.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA4BCD
RGBrgb(186, 75, 205)
HSLhsl(291, 57%, 55%)
HSVhsv(291, 63%, 80%)
CMYKcmyk(9.3%, 63.4%, 0%, 19.6%)
CIE-LABlab(51.70, 62.36, -47.06)
CIE-LCHlch(51.70, 78.13, 322.96°)
OKLaboklab(61.04% 0.1651 -0.1311)
OKLCHoklch(61.04% 0.211 321.5)
XYZxyz(33.7840, 19.8808, 59.8036)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BCD #5ECD4B
analogous
#794BCD #BA4BCD #CD4B9F
triadic
#BA4BCD #CDBA4B #4BCDBA
tetradic
#BA4BCD #CD794B #5ECD4B #4B9FCD
square
#BA4BCD #CD794B #5ECD4B #4B9FCD
split-complementary
#BA4BCD #9FCD4B #4BCD79
monochromatic
#6E227B #9930AB #BA4BCD #CC7BDA #DFABE8

Accessibility & contrast

On white

4.22
#BA4BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#BA4BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BCD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BCD#FFFFFF#000000##000000
##BA4BCD1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D1
Deuteranopia (green-blind)
#5A7FCA
Tritanopia (blue-blind)
#BC6086
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4bcd;
/* rgb */ color: rgb(186, 75, 205);
/* oklch */ color: oklch(61.0% 0.211 321.5);
Tailwind
colors: {
  custom: {
    50: '#d285dd',
    500: '#ba4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bcd;
$custom-light: #d285dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bcd",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 291.231,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61044,
    "c": 0.21083,
    "h": 321.5
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#BA4BCD
secondary
#A7D59F
accent
#E0485E
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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