#BA4BCA#BA4BCA

#BA4BCA is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 60.9% C 0.208 H 322.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA4BCA
RGBrgb(186, 75, 202)
HSLhsl(292, 55%, 54%)
HSVhsv(292, 63%, 79%)
CMYKcmyk(7.9%, 62.9%, 0%, 20.8%)
CIE-LABlab(51.54, 61.81, -45.60)
CIE-LCHlch(51.54, 76.81, 323.58°)
OKLaboklab(60.87% 0.165 -0.1269)
OKLCHoklch(60.87% 0.208 322.4)
XYZxyz(33.4254, 19.7373, 57.9147)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BCA #5BCA4B
analogous
#7B4BCA #BA4BCA #CA4B9B
triadic
#BA4BCA #CABA4B #4BCABA
tetradic
#BA4BCA #CA7B4B #5BCA4B #4B9BCA
square
#BA4BCA #CA7B4B #5BCA4B #4B9BCA
split-complementary
#BA4BCA #9BCA4B #4BCA7B
monochromatic
#6D2377 #9831A7 #BA4BCA #CC7AD8 #DEAAE6

Accessibility & contrast

On white

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

On black

4.95
#BA4BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BCA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BCA#FFFFFF#000000##000000
##BA4BCA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E73CE
Deuteranopia (green-blind)
#5C7FC7
Tritanopia (blue-blind)
#BC5F84
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4bca;
/* rgb */ color: rgb(186, 75, 202);
/* oklch */ color: oklch(60.9% 0.208 322.4);
Tailwind
colors: {
  custom: {
    50: '#d285db',
    500: '#ba4bca',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bca;
$custom-light: #d285db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bca",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 292.441,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60874,
    "c": 0.20816,
    "h": 322.4
  },
  "luminance": 0.19736
}

Semantic roles & 50–950 ramp

primary
#BA4BCA
secondary
#A4D39D
accent
#DE4A5D
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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