#BA43CA#BA43CA

#BA43CA is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.219 H 322.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA43CA
RGBrgb(186, 67, 202)
HSLhsl(293, 56%, 53%)
HSVhsv(293, 67%, 79%)
CMYKcmyk(7.9%, 66.8%, 0%, 20.8%)
CIE-LABlab(50.36, 65.10, -47.48)
CIE-LCHlch(50.36, 80.58, 323.90°)
OKLaboklab(60.02% 0.174 -0.1323)
OKLCHoklch(60.02% 0.219 322.7)
XYZxyz(32.9165, 18.7195, 57.7451)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43CA #53CA43
analogous
#7643CA #BA43CA #CA4396
triadic
#BA43CA #CABA43 #43CABA
tetradic
#BA43CA #CA7643 #53CA43 #4396CA
square
#BA43CA #CA7643 #53CA43 #4396CA
split-complementary
#BA43CA #96CA43 #43CA76
monochromatic
#692072 #942EA2 #BA43CA #CC73D7 #DDA2E5

Accessibility & contrast

On white

4.43
#BA43CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#BA43CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43CA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43CA#FFFFFF#000000##000000
##BA43CA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#567CC7
Tritanopia (blue-blind)
#BD5981
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba43ca;
/* rgb */ color: rgb(186, 67, 202);
/* oklch */ color: oklch(60.0% 0.219 322.7);
Tailwind
colors: {
  custom: {
    50: '#d280db',
    500: '#ba43ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba43ca;
$custom-light: #d280db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43ca",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 292.889,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60021,
    "c": 0.21857,
    "h": 322.7
  },
  "luminance": 0.18718
}

Semantic roles & 50–950 ramp

primary
#BA43CA
secondary
#9ED297
accent
#DF485A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA43CA

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

Preview Lab → · Contrast checker → · Palette generator →

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