#BA3CC5#BA3CC5

#BA3CC5 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.1% C 0.223 H 324.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA3CC5
RGBrgb(186, 60, 197)
HSLhsl(295, 54%, 50%)
HSVhsv(295, 70%, 77%)
CMYKcmyk(5.6%, 69.5%, 0%, 22.7%)
CIE-LABlab(49.14, 66.87, -46.54)
CIE-LCHlch(49.14, 81.47, 325.16°)
OKLaboklab(59.05% 0.1813 -0.1295)
OKLCHoklch(59.05% 0.223 324.5)
XYZxyz(31.9428, 17.7040, 54.5472)
Luminance0.1770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CC5 #47C53C
analogous
#753CC5 #BA3CC5 #C53C8C
triadic
#BA3CC5 #C5BA3C #3CC5BA
tetradic
#BA3CC5 #C5753C #47C53C #3C8CC5
square
#BA3CC5 #C5753C #47C53C #3C8CC5
split-complementary
#BA3CC5 #8CC53C #3CC575
monochromatic
#621F68 #8E2D97 #BA3CC5 #CB6BD3 #DB9AE1

Accessibility & contrast

On white

4.63
#BA3CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BA3CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CC5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CC5#FFFFFF#000000##FFFFFF
##BA3CC51.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166BC9
Deuteranopia (green-blind)
#567AC2
Tritanopia (blue-blind)
#BE537C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3cc5;
/* rgb */ color: rgb(186, 60, 197);
/* oklch */ color: oklch(59.1% 0.223 324.5);
Tailwind
colors: {
  custom: {
    50: '#d27dd7',
    500: '#ba3cc5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cc5;
$custom-light: #d27dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cc5",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 295.182,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59053,
    "c": 0.22282,
    "h": 324.5
  },
  "luminance": 0.17702
}

Semantic roles & 50–950 ramp

primary
#BA3CC5
secondary
#95CD90
accent
#DE4A56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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