#BA43CF#BA43CF

#BA43CF is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.223 H 321.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA43CF
RGBrgb(186, 67, 207)
HSLhsl(291, 59%, 54%)
HSVhsv(291, 68%, 81%)
CMYKcmyk(10.1%, 67.6%, 0%, 18.8%)
CIE-LABlab(50.64, 66.01, -49.90)
CIE-LCHlch(50.64, 82.75, 322.91°)
OKLaboklab(60.32% 0.1739 -0.1394)
OKLCHoklch(60.32% 0.223 321.3)
XYZxyz(33.5181, 18.9602, 60.9136)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43CF #58CF43
analogous
#7443CF #BA43CF #CF439E
triadic
#BA43CF #CFBA43 #43CFBA
tetradic
#BA43CF #CF7443 #58CF43 #439ECF
square
#BA43CF #CF7443 #58CF43 #439ECF
split-complementary
#BA43CF #9ECF43 #43CF74
monochromatic
#6B1F79 #972BAA #BA43CF #CC74DB #DEA5E8

Accessibility & contrast

On white

4.38
#BA43CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BA43CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43CF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43CF#FFFFFF#000000##000000
##BA43CF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1270D3
Deuteranopia (green-blind)
#537DCC
Tritanopia (blue-blind)
#BC5C84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba43cf;
/* rgb */ color: rgb(186, 67, 207);
/* oklch */ color: oklch(60.3% 0.223 321.3);
Tailwind
colors: {
  custom: {
    50: '#d281de',
    500: '#ba43cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba43cf;
$custom-light: #d281de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43cf",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 291,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60316,
    "c": 0.22286,
    "h": 321.3
  },
  "luminance": 0.18958
}

Semantic roles & 50–950 ramp

primary
#BA43CF
secondary
#A2D599
accent
#E3455D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA43CF

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

Preview Lab → · Contrast checker → · Palette generator →

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