#BA4BC4#BA4BC4

#BA4BC4 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.5% C 0.203 H 324.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA4BC4
RGBrgb(186, 75, 196)
HSLhsl(295, 51%, 53%)
HSVhsv(295, 62%, 77%)
CMYKcmyk(5.1%, 61.7%, 0%, 23.1%)
CIE-LABlab(51.22, 60.72, -42.65)
CIE-LCHlch(51.22, 74.20, 324.91°)
OKLaboklab(60.54% 0.1648 -0.1183)
OKLCHoklch(60.54% 0.203 324.3)
XYZxyz(32.7287, 19.4586, 54.2458)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BC4 #55C44B
analogous
#7D4BC4 #BA4BC4 #C44B92
triadic
#BA4BC4 #C4BA4B #4BC4BA
tetradic
#BA4BC4 #C47D4B #55C44B #4B92C4
square
#BA4BC4 #C47D4B #55C44B #4B92C4
split-complementary
#BA4BC4 #92C44B #4BC47D
monochromatic
#6A2570 #95349E #BA4BC4 #CC79D3 #DDA7E2

Accessibility & contrast

On white

4.29
#BA4BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#BA4BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BC4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BC4#FFFFFF#000000##000000
##BA4BC41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3571C8
Deuteranopia (green-blind)
#5F7FC1
Tritanopia (blue-blind)
#BE5D81
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba4bc4;
/* rgb */ color: rgb(186, 75, 196);
/* oklch */ color: oklch(60.5% 0.203 324.3);
Tailwind
colors: {
  custom: {
    50: '#d284d6',
    500: '#ba4bc4',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bc4;
$custom-light: #d284d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bc4",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 295.041,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60539,
    "c": 0.20287,
    "h": 324.3
  },
  "luminance": 0.19457
}

Semantic roles & 50–950 ramp

primary
#BA4BC4
secondary
#A0CF9B
accent
#DA4E59
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA4BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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