#BA4BC2#BA4BC2

#BA4BC2 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.4% C 0.201 H 325.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA4BC2
RGBrgb(186, 75, 194)
HSLhsl(296, 49%, 53%)
HSVhsv(296, 61%, 76%)
CMYKcmyk(4.1%, 61.3%, 0%, 23.9%)
CIE-LABlab(51.12, 60.36, -41.66)
CIE-LCHlch(51.12, 73.34, 325.38°)
OKLaboklab(60.43% 0.1647 -0.1155)
OKLCHoklch(60.43% 0.201 325)
XYZxyz(32.5026, 19.3682, 53.0549)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BC2 #53C24B
analogous
#7E4BC2 #BA4BC2 #C24B8F
triadic
#BA4BC2 #C2BA4B #4BC2BA
tetradic
#BA4BC2 #C27E4B #53C24B #4B8FC2
square
#BA4BC2 #C27E4B #53C24B #4B8FC2
split-complementary
#BA4BC2 #8FC24B #4BC27E
monochromatic
#69256D #94359B #BA4BC2 #CC79D1 #DDA6E1

Accessibility & contrast

On white

4.31
#BA4BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#BA4BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BC2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BC2#FFFFFF#000000##000000
##BA4BC21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3771C6
Deuteranopia (green-blind)
#607EBF
Tritanopia (blue-blind)
#BE5C80
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba4bc2;
/* rgb */ color: rgb(186, 75, 194);
/* oklch */ color: oklch(60.4% 0.201 325.0);
Tailwind
colors: {
  custom: {
    50: '#d284d5',
    500: '#ba4bc2',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bc2;
$custom-light: #d284d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bc2",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 295.966,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60429,
    "c": 0.20113,
    "h": 325
  },
  "luminance": 0.19366
}

Semantic roles & 50–950 ramp

primary
#BA4BC2
secondary
#9ECE9B
accent
#D94F58
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA4BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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