#BA43AE#BA43AE

#BA43AE is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.5% C 0.196 H 332.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA43AE
RGBrgb(186, 67, 174)
HSLhsl(306, 47%, 50%)
HSVhsv(306, 64%, 73%)
CMYKcmyk(0%, 64%, 6.5%, 27.1%)
CIE-LABlab(48.90, 60.31, -33.51)
CIE-LCHlch(48.90, 68.99, 330.94°)
OKLaboklab(58.49% 0.1727 -0.0918)
OKLCHoklch(58.49% 0.196 332)
XYZxyz(29.8968, 17.5117, 41.8416)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43AE #43BA4F
analogous
#8A43BA #BA43AE #BA4373
triadic
#BA43AE #AEBA43 #43AEBA
tetradic
#BA43AE #BA8A43 #43BA4F #4373BA
square
#BA43AE #BA8A43 #43BA4F #4373BA
split-complementary
#BA43AE #73BA43 #43BA8A
monochromatic
#60235A #8D3384 #BA43AE #CB6FC2 #DB9CD5

Accessibility & contrast

On white

4.66
#BA43AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BA43AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA43AE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43AE#FFFFFF#000000##FFFFFF
##BA43AE1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B1
Deuteranopia (green-blind)
#667AAB
Tritanopia (blue-blind)
#C24E72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba43ae;
/* rgb */ color: rgb(186, 67, 174);
/* oklch */ color: oklch(58.5% 0.196 332.0);
Tailwind
colors: {
  custom: {
    50: '#d27fc6',
    500: '#ba43ae',
    950: '#000000',
  },
}
SCSS
$custom: #ba43ae;
$custom-light: #d27fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43ae",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 306.05,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.19557,
    "h": 332
  },
  "luminance": 0.17509
}

Semantic roles & 50–950 ramp

primary
#BA43AE
secondary
#91C897
accent
#D75F51
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA43AE

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

Preview Lab → · Contrast checker → · Palette generator →

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