#BA4CC8#BA4CC8

#BA4CC8 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 60.9% C 0.205 H 323.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA4CC8
RGBrgb(186, 76, 200)
HSLhsl(293, 53%, 54%)
HSVhsv(293, 62%, 78%)
CMYKcmyk(7%, 62%, 0%, 21.6%)
CIE-LABlab(51.59, 61.01, -44.37)
CIE-LCHlch(51.59, 75.44, 323.97°)
OKLaboklab(60.87% 0.1638 -0.1233)
OKLCHoklch(60.87% 0.205 323)
XYZxyz(33.2585, 19.7799, 56.6985)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CC8 #5AC84C
analogous
#7C4CC8 #BA4CC8 #C84C98
triadic
#BA4CC8 #C8BA4C #4CC8BA
tetradic
#BA4CC8 #C87C4C #5AC84C #4C98C8
square
#BA4CC8 #C87C4C #5AC84C #4C98C8
split-complementary
#BA4CC8 #98C84C #4CC87C
monochromatic
#6C2475 #9732A4 #BA4CC8 #CC7BD6 #DEAAE5

Accessibility & contrast

On white

4.24
#BA4CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BA4CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CC8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CC8#FFFFFF#000000##000000
##BA4CC81.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3373CC
Deuteranopia (green-blind)
#5E7FC5
Tritanopia (blue-blind)
#BD5F83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4cc8;
/* rgb */ color: rgb(186, 76, 200);
/* oklch */ color: oklch(60.9% 0.205 323.0);
Tailwind
colors: {
  custom: {
    50: '#d285d9',
    500: '#ba4cc8',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cc8;
$custom-light: #d285d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cc8",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 293.226,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60874,
    "c": 0.20502,
    "h": 323
  },
  "luminance": 0.19778
}

Semantic roles & 50–950 ramp

primary
#BA4CC8
secondary
#A3D29E
accent
#DC4B5C
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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