#BA43E7#BA43E7

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

Color values

HEX#BA43E7
RGBrgb(186, 67, 231)
HSLhsl(284, 77%, 58%)
HSVhsv(284, 71%, 91%)
CMYKcmyk(19.5%, 71%, 0%, 9.4%)
CIE-LABlab(52.09, 70.53, -61.22)
CIE-LCHlch(52.09, 93.39, 319.04°)
OKLaboklab(61.82% 0.1723 -0.1725)
OKLCHoklch(61.82% 0.244 315)
XYZxyz(36.6783, 20.2242, 77.5574)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43E7 #70E743
analogous
#6843E7 #BA43E7 #E743C2
triadic
#BA43E7 #E7BA43 #43E7BA
tetradic
#BA43E7 #E76843 #70E743 #43C2E7
square
#BA43E7 #E76843 #70E743 #43C2E7
split-complementary
#BA43E7 #C2E743 #43E768
monochromatic
#76149C #A01BD2 #BA43E7 #CE79EE #E2B0F5

Accessibility & contrast

On white

4.16
#BA43E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#BA43E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43E7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43E7#FFFFFF#000000##000000
##BA43E71.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#3D7FE3
Tritanopia (blue-blind)
#B66691
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba43e7;
/* rgb */ color: rgb(186, 67, 231);
/* oklch */ color: oklch(61.8% 0.244 315.0);
Tailwind
colors: {
  custom: {
    50: '#d381ef',
    500: '#ba43e7',
    950: '#000000',
  },
}
SCSS
$custom: #ba43e7;
$custom-light: #d381ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43e7",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 231
  },
  "hsl": {
    "h": 283.537,
    "s": 77.358,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61815,
    "c": 0.24381,
    "h": 315
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

primary
#BA43E7
secondary
#B4E3A2
accent
#F43469
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #BA43E7

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

Preview Lab → · Contrast checker → · Palette generator →

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