#BA4CC2#BA4CC2

#BA4CC2 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.5% C 0.200 H 324.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BA4CC2
RGBrgb(186, 76, 194)
HSLhsl(296, 49%, 53%)
HSVhsv(296, 61%, 76%)
CMYKcmyk(4.1%, 60.8%, 0%, 23.9%)
CIE-LABlab(51.27, 59.92, -41.42)
CIE-LCHlch(51.27, 72.84, 325.35°)
OKLaboklab(60.54% 0.1635 -0.1147)
OKLCHoklch(60.54% 0.2 324.9)
XYZxyz(32.5710, 19.5049, 53.0777)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CC2 #54C24C
analogous
#7F4CC2 #BA4CC2 #C24C8F
triadic
#BA4CC2 #C2BA4C #4CC2BA
tetradic
#BA4CC2 #C27F4C #54C24C #4C8FC2
square
#BA4CC2 #C27F4C #54C24C #4C8FC2
split-complementary
#BA4CC2 #8FC24C #4CC27F
monochromatic
#69266E #95359C #BA4CC2 #CC7AD2 #DDA7E1

Accessibility & contrast

On white

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

On black

4.90
#BA4CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CC2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CC2#FFFFFF#000000##000000
##BA4CC21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3971C6
Deuteranopia (green-blind)
#617FBF
Tritanopia (blue-blind)
#BE5D80
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba4cc2;
/* rgb */ color: rgb(186, 76, 194);
/* oklch */ color: oklch(60.5% 0.200 324.9);
Tailwind
colors: {
  custom: {
    50: '#d285d5',
    500: '#ba4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cc2;
$custom-light: #d285d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cc2",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 295.932,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60544,
    "c": 0.19974,
    "h": 324.9
  },
  "luminance": 0.19503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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