#BA43DF#BA43DF

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

Color values

HEX#BA43DF
RGBrgb(186, 67, 223)
HSLhsl(286, 71%, 57%)
HSVhsv(286, 70%, 87%)
CMYKcmyk(16.6%, 70%, 0%, 12.5%)
CIE-LABlab(51.59, 68.99, -57.50)
CIE-LCHlch(51.59, 89.81, 320.19°)
OKLaboklab(61.3% 0.173 -0.1616)
OKLCHoklch(61.3% 0.237 317)
XYZxyz(35.5742, 19.7826, 71.7423)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43DF #68DF43
analogous
#6C43DF #BA43DF #DF43B6
triadic
#BA43DF #DFBA43 #43DFBA
tetradic
#BA43DF #DF6C43 #68DF43 #43B6DF
square
#BA43DF #DF6C43 #68DF43 #43B6DF
split-complementary
#BA43DF #B6DF43 #43DF6C
monochromatic
#73188F #9D21C4 #BA43DF #CD77E8 #E0ACF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA43DF#FFFFFF#000000##000000
##BA43DF1.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)
#0074E3
Deuteranopia (green-blind)
#467EDB
Tritanopia (blue-blind)
#B8628D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba43df;
/* rgb */ color: rgb(186, 67, 223);
/* oklch */ color: oklch(61.3% 0.237 317.0);
Tailwind
colors: {
  custom: {
    50: '#d381ea',
    500: '#ba43df',
    950: '#000000',
  },
}
SCSS
$custom: #ba43df;
$custom-light: #d381ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43df",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 223
  },
  "hsl": {
    "h": 285.769,
    "s": 70.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.613,
    "c": 0.23676,
    "h": 317
  },
  "luminance": 0.19781
}

Semantic roles & 50–950 ramp

primary
#BA43DF
secondary
#AEDF9F
accent
#EE3A65
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA43DF

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

Preview Lab → · Contrast checker → · Palette generator →

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