#BA4BC7#BA4BC7

#BA4BC7 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.7% C 0.206 H 323.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA4BC7
RGBrgb(186, 75, 199)
HSLhsl(294, 53%, 54%)
HSVhsv(294, 62%, 78%)
CMYKcmyk(6.5%, 62.3%, 0%, 22%)
CIE-LABlab(51.38, 61.26, -44.13)
CIE-LCHlch(51.38, 75.50, 324.23°)
OKLaboklab(60.71% 0.1649 -0.1226)
OKLCHoklch(60.71% 0.206 323.4)
XYZxyz(33.0736, 19.5966, 56.0622)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BC7 #58C74B
analogous
#7C4BC7 #BA4BC7 #C74B96
triadic
#BA4BC7 #C7BA4B #4BC7BA
tetradic
#BA4BC7 #C77C4B #58C74B #4B96C7
square
#BA4BC7 #C77C4B #58C74B #4B96C7
split-complementary
#BA4BC7 #96C74B #4BC77C
monochromatic
#6B2474 #9732A2 #BA4BC7 #CC7AD6 #DEA8E4

Accessibility & contrast

On white

4.27
#BA4BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BA4BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BC7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BC7#FFFFFF#000000##000000
##BA4BC71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3272CB
Deuteranopia (green-blind)
#5E7FC4
Tritanopia (blue-blind)
#BD5E82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba4bc7;
/* rgb */ color: rgb(186, 75, 199);
/* oklch */ color: oklch(60.7% 0.206 323.4);
Tailwind
colors: {
  custom: {
    50: '#d284d8',
    500: '#ba4bc7',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bc7;
$custom-light: #d284d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bc7",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 293.71,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60705,
    "c": 0.20551,
    "h": 323.4
  },
  "luminance": 0.19595
}

Semantic roles & 50–950 ramp

primary
#BA4BC7
secondary
#A2D19C
accent
#DC4C5B
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA4BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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