#BA4BC0#BA4BC0

#BA4BC0 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.3% C 0.199 H 325.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA4BC0
RGBrgb(186, 75, 192)
HSLhsl(297, 48%, 52%)
HSVhsv(297, 61%, 75%)
CMYKcmyk(3.1%, 60.9%, 0%, 24.7%)
CIE-LABlab(51.01, 60.00, -40.67)
CIE-LCHlch(51.01, 72.49, 325.87°)
OKLaboklab(60.32% 0.1646 -0.1126)
OKLCHoklch(60.32% 0.199 325.6)
XYZxyz(32.2795, 19.2790, 51.8799)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BC0 #51C04B
analogous
#804BC0 #BA4BC0 #C04B8C
triadic
#BA4BC0 #C0BA4B #4BC0BA
tetradic
#BA4BC0 #C0804B #51C04B #4B8CC0
square
#BA4BC0 #C0804B #51C04B #4B8CC0
split-complementary
#BA4BC0 #8CC04B #4BC080
monochromatic
#68256B #933598 #BA4BC0 #CB78D0 #DDA6E0

Accessibility & contrast

On white

4.33
#BA4BC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BA4BC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BC0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BC0#FFFFFF#000000##000000
##BA4BC01.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3971C4
Deuteranopia (green-blind)
#617EBD
Tritanopia (blue-blind)
#BE5B7F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba4bc0;
/* rgb */ color: rgb(186, 75, 192);
/* oklch */ color: oklch(60.3% 0.199 325.6);
Tailwind
colors: {
  custom: {
    50: '#d284d3',
    500: '#ba4bc0',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bc0;
$custom-light: #d284d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bc0",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 296.923,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60321,
    "c": 0.19939,
    "h": 325.6
  },
  "luminance": 0.19277
}

Semantic roles & 50–950 ramp

primary
#BA4BC0
secondary
#9DCD9A
accent
#D85057
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA4BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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