#BA43E3#BA43E3

#BA43E3 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.6% C 0.240 H 315.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA43E3
RGBrgb(186, 67, 227)
HSLhsl(285, 74%, 58%)
HSVhsv(285, 70%, 89%)
CMYKcmyk(18.1%, 70.5%, 0%, 11%)
CIE-LABlab(51.84, 69.76, -59.37)
CIE-LCHlch(51.84, 91.60, 319.60°)
OKLaboklab(61.56% 0.1727 -0.1671)
OKLCHoklch(61.56% 0.24 315.9)
XYZxyz(36.1198, 20.0009, 74.6161)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43E3 #6CE343
analogous
#6A43E3 #BA43E3 #E343BC
triadic
#BA43E3 #E3BA43 #43E3BA
tetradic
#BA43E3 #E36A43 #6CE343 #43BCE3
square
#BA43E3 #E36A43 #6CE343 #43BCE3
split-complementary
#BA43E3 #BCE343 #43E36A
monochromatic
#751695 #9E1ECB #BA43E3 #CE78EB #E1AEF3

Accessibility & contrast

On white

4.20
#BA43E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BA43E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43E3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43E3#FFFFFF#000000##000000
##BA43E31.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#417FDF
Tritanopia (blue-blind)
#B7648F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba43e3;
/* rgb */ color: rgb(186, 67, 227);
/* oklch */ color: oklch(61.6% 0.240 315.9);
Tailwind
colors: {
  custom: {
    50: '#d381ed',
    500: '#ba43e3',
    950: '#000000',
  },
}
SCSS
$custom: #ba43e3;
$custom-light: #d381ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43e3",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 227
  },
  "hsl": {
    "h": 284.625,
    "s": 74.074,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61556,
    "c": 0.24028,
    "h": 315.9
  },
  "luminance": 0.19999
}

Semantic roles & 50–950 ramp

primary
#BA43E3
secondary
#B1E1A1
accent
#F13767
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA43E3

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

Preview Lab → · Contrast checker → · Palette generator →

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