#BA4BCB#BA4BCB

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

Color values

HEX#BA4BCB
RGBrgb(186, 75, 203)
HSLhsl(292, 55%, 55%)
HSVhsv(292, 63%, 80%)
CMYKcmyk(8.4%, 63.1%, 0%, 20.4%)
CIE-LABlab(51.59, 61.99, -46.09)
CIE-LCHlch(51.59, 77.25, 323.37°)
OKLaboklab(60.93% 0.165 -0.1283)
OKLCHoklch(60.93% 0.209 322.1)
XYZxyz(33.5441, 19.7848, 58.5403)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BCB #5CCB4B
analogous
#7A4BCB #BA4BCB #CB4B9C
triadic
#BA4BCB #CBBA4B #4BCBBA
tetradic
#BA4BCB #CB7A4B #5CCB4B #4B9CCB
square
#BA4BCB #CB7A4B #5CCB4B #4B9CCB
split-complementary
#BA4BCB #9CCB4B #4BCB7A
monochromatic
#6D2379 #9831A8 #BA4BCB #CC7AD9 #DEAAE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4BCB#FFFFFF#000000##000000
##BA4BCB1.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)
#2D73CF
Deuteranopia (green-blind)
#5B7FC8
Tritanopia (blue-blind)
#BC5F84
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4bcb;
/* rgb */ color: rgb(186, 75, 203);
/* oklch */ color: oklch(60.9% 0.209 322.1);
Tailwind
colors: {
  custom: {
    50: '#d285db',
    500: '#ba4bcb',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bcb;
$custom-light: #d285db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bcb",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 292.031,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6093,
    "c": 0.20905,
    "h": 322.1
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#BA4BCB
secondary
#A5D49E
accent
#DF495D
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA4BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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