#BA4CC7#BA4CC7

#BA4CC7 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.8% C 0.204 H 323.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA4CC7
RGBrgb(186, 76, 199)
HSLhsl(294, 52%, 54%)
HSVhsv(294, 62%, 78%)
CMYKcmyk(6.5%, 61.8%, 0%, 22%)
CIE-LABlab(51.53, 60.83, -43.88)
CIE-LCHlch(51.53, 75.01, 324.19°)
OKLaboklab(60.82% 0.1637 -0.1219)
OKLCHoklch(60.82% 0.204 323.3)
XYZxyz(33.1420, 19.7333, 56.0850)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CC7 #59C74C
analogous
#7D4CC7 #BA4CC7 #C74C96
triadic
#BA4CC7 #C7BA4C #4CC7BA
tetradic
#BA4CC7 #C77D4C #59C74C #4C96C7
square
#BA4CC7 #C77D4C #59C74C #4C96C7
split-complementary
#BA4CC7 #96C74C #4CC77D
monochromatic
#6C2474 #9733A3 #BA4CC7 #CC7BD6 #DEA9E4

Accessibility & contrast

On white

4.25
#BA4CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#BA4CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CC7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CC7#FFFFFF#000000##000000
##BA4CC71.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3472CB
Deuteranopia (green-blind)
#5E7FC4
Tritanopia (blue-blind)
#BD5E83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4cc7;
/* rgb */ color: rgb(186, 76, 199);
/* oklch */ color: oklch(60.8% 0.204 323.3);
Tailwind
colors: {
  custom: {
    50: '#d285d8',
    500: '#ba4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cc7;
$custom-light: #d285d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cc7",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 293.659,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60818,
    "c": 0.20414,
    "h": 323.3
  },
  "luminance": 0.19732
}

Semantic roles & 50–950 ramp

primary
#BA4CC7
secondary
#A3D29D
accent
#DC4C5B
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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