#BA4BC5#BA4BC5

#BA4BC5 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.6% C 0.204 H 324.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BA4BC5
RGBrgb(186, 75, 197)
HSLhsl(295, 51%, 53%)
HSVhsv(295, 62%, 77%)
CMYKcmyk(5.6%, 61.9%, 0%, 22.7%)
CIE-LABlab(51.27, 60.90, -43.15)
CIE-LCHlch(51.27, 74.63, 324.68°)
OKLaboklab(60.59% 0.1648 -0.1198)
OKLCHoklch(60.59% 0.204 324)
XYZxyz(32.8429, 19.5043, 54.8473)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BC5 #56C54B
analogous
#7D4BC5 #BA4BC5 #C54B93
triadic
#BA4BC5 #C5BA4B #4BC5BA
tetradic
#BA4BC5 #C57D4B #56C54B #4B93C5
square
#BA4BC5 #C57D4B #56C54B #4B93C5
split-complementary
#BA4BC5 #93C54B #4BC57D
monochromatic
#6A2471 #96339F #BA4BC5 #CC79D4 #DDA8E3

Accessibility & contrast

On white

4.29
#BA4BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#BA4BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BC5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BC5#FFFFFF#000000##000000
##BA4BC51.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3472C9
Deuteranopia (green-blind)
#5F7FC2
Tritanopia (blue-blind)
#BD5D81
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba4bc5;
/* rgb */ color: rgb(186, 75, 197);
/* oklch */ color: oklch(60.6% 0.204 324.0);
Tailwind
colors: {
  custom: {
    50: '#d284d7',
    500: '#ba4bc5',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bc5;
$custom-light: #d284d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bc5",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 294.59,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60594,
    "c": 0.20375,
    "h": 324
  },
  "luminance": 0.19502
}

Semantic roles & 50–950 ramp

primary
#BA4BC5
secondary
#A0D09C
accent
#DB4D5A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA4BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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