#BA4CCA#BA4CCA

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

Color values

HEX#BA4CCA
RGBrgb(186, 76, 202)
HSLhsl(292, 54%, 55%)
HSVhsv(292, 62%, 79%)
CMYKcmyk(7.9%, 62.4%, 0%, 20.8%)
CIE-LABlab(51.69, 61.38, -45.35)
CIE-LCHlch(51.69, 76.32, 323.54°)
OKLaboklab(60.99% 0.1638 -0.1262)
OKLCHoklch(60.99% 0.207 322.4)
XYZxyz(33.4937, 19.8740, 57.9375)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CCA #5CCA4C
analogous
#7B4CCA #BA4CCA #CA4C9B
triadic
#BA4CCA #CABA4C #4CCABA
tetradic
#BA4CCA #CA7B4C #5CCA4C #4C9BCA
square
#BA4CCA #CA7B4C #5CCA4C #4C9BCA
split-complementary
#BA4CCA #9BCA4C #4CCA7B
monochromatic
#6D2478 #9832A7 #BA4CCA #CC7BD8 #DEAAE6

Accessibility & contrast

On white

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

On black

4.97
#BA4CCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CCA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CCA#FFFFFF#000000##000000
##BA4CCA1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3073CE
Deuteranopia (green-blind)
#5C80C7
Tritanopia (blue-blind)
#BC6084
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4cca;
/* rgb */ color: rgb(186, 76, 202);
/* oklch */ color: oklch(61.0% 0.207 322.4);
Tailwind
colors: {
  custom: {
    50: '#d285db',
    500: '#ba4cca',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cca;
$custom-light: #d285db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cca",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 292.381,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60986,
    "c": 0.2068,
    "h": 322.4
  },
  "luminance": 0.19872
}

Semantic roles & 50–950 ramp

primary
#BA4CCA
secondary
#A5D49E
accent
#DE4A5D
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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