#BA43CB#BA43CB

#BA43CB is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.1% C 0.219 H 322.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA43CB
RGBrgb(186, 67, 203)
HSLhsl(293, 57%, 53%)
HSVhsv(293, 67%, 80%)
CMYKcmyk(8.4%, 67%, 0%, 20.4%)
CIE-LABlab(50.41, 65.28, -47.96)
CIE-LCHlch(50.41, 81.01, 323.69°)
OKLaboklab(60.08% 0.174 -0.1337)
OKLCHoklch(60.08% 0.219 322.5)
XYZxyz(33.0352, 18.7670, 58.3707)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43CB #54CB43
analogous
#7643CB #BA43CB #CB4398
triadic
#BA43CB #CBBA43 #43CBBA
tetradic
#BA43CB #CB7643 #54CB43 #4398CB
square
#BA43CB #CB7643 #54CB43 #4398CB
split-complementary
#BA43CB #98CB43 #43CB76
monochromatic
#692074 #952DA4 #BA43CB #CC73D8 #DDA3E6

Accessibility & contrast

On white

4.42
#BA43CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BA43CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43CB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43CB#FFFFFF#000000##000000
##BA43CB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#567DC8
Tritanopia (blue-blind)
#BC5A82
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba43cb;
/* rgb */ color: rgb(186, 67, 203);
/* oklch */ color: oklch(60.1% 0.219 322.5);
Tailwind
colors: {
  custom: {
    50: '#d280db',
    500: '#ba43cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba43cb;
$custom-light: #d280db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43cb",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 292.5,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6008,
    "c": 0.21942,
    "h": 322.5
  },
  "luminance": 0.18765
}

Semantic roles & 50–950 ramp

primary
#BA43CB
secondary
#9FD298
accent
#E0485B
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA43CB

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

Preview Lab → · Contrast checker → · Palette generator →

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