#BA43E6#BA43E6

#BA43E6 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.8% C 0.243 H 315.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA43E6
RGBrgb(186, 67, 230)
HSLhsl(284, 77%, 58%)
HSVhsv(284, 71%, 90%)
CMYKcmyk(19.1%, 70.9%, 0%, 9.8%)
CIE-LABlab(52.03, 70.34, -60.76)
CIE-LCHlch(52.03, 92.94, 319.18°)
OKLaboklab(61.75% 0.1724 -0.1711)
OKLCHoklch(61.75% 0.243 315.2)
XYZxyz(36.5375, 20.1679, 76.8157)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43E6 #6FE643
analogous
#6843E6 #BA43E6 #E643C0
triadic
#BA43E6 #E6BA43 #43E6BA
tetradic
#BA43E6 #E66843 #6FE643 #43C0E6
square
#BA43E6 #E66843 #6FE643 #43C0E6
split-complementary
#BA43E6 #C0E643 #43E668
monochromatic
#76149A #9F1CD0 #BA43E6 #CE79ED #E2AFF4

Accessibility & contrast

On white

4.17
#BA43E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#BA43E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43E6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43E6#FFFFFF#000000##000000
##BA43E61.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#3E7FE2
Tritanopia (blue-blind)
#B76591
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba43e6;
/* rgb */ color: rgb(186, 67, 230);
/* oklch */ color: oklch(61.8% 0.243 315.2);
Tailwind
colors: {
  custom: {
    50: '#d381ef',
    500: '#ba43e6',
    950: '#000000',
  },
}
SCSS
$custom: #ba43e6;
$custom-light: #d381ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43e6",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 230
  },
  "hsl": {
    "h": 283.804,
    "s": 76.526,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6175,
    "c": 0.24292,
    "h": 315.2
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#BA43E6
secondary
#B3E3A2
accent
#F33568
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA43E6

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

Preview Lab → · Contrast checker → · Palette generator →

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