#BA4CC9#BA4CC9

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

Color values

HEX#BA4CC9
RGBrgb(186, 76, 201)
HSLhsl(293, 54%, 54%)
HSVhsv(293, 62%, 79%)
CMYKcmyk(7.5%, 62.2%, 0%, 21.2%)
CIE-LABlab(51.64, 61.20, -44.86)
CIE-LCHlch(51.64, 75.88, 323.75°)
OKLaboklab(60.93% 0.1638 -0.1248)
OKLCHoklch(60.93% 0.206 322.7)
XYZxyz(33.3757, 19.8268, 57.3160)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CC9 #5BC94C
analogous
#7C4CC9 #BA4CC9 #C94C9A
triadic
#BA4CC9 #C9BA4C #4CC9BA
tetradic
#BA4CC9 #C97C4C #5BC94C #4C9AC9
square
#BA4CC9 #C97C4C #5BC94C #4C9AC9
split-complementary
#BA4CC9 #9AC94C #4CC97C
monochromatic
#6D2477 #9832A6 #BA4CC9 #CC7BD7 #DEAAE5

Accessibility & contrast

On white

4.23
#BA4CC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4CC9#FFFFFF#000000##000000
##BA4CC91.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3173CD
Deuteranopia (green-blind)
#5D7FC6
Tritanopia (blue-blind)
#BD5F84
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4cc9;
/* rgb */ color: rgb(186, 76, 201);
/* oklch */ color: oklch(60.9% 0.206 322.7);
Tailwind
colors: {
  custom: {
    50: '#d285da',
    500: '#ba4cc9',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cc9;
$custom-light: #d285da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cc9",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 292.8,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6093,
    "c": 0.20591,
    "h": 322.7
  },
  "luminance": 0.19825
}

Semantic roles & 50–950 ramp

primary
#BA4CC9
secondary
#A4D39E
accent
#DD4B5C
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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