#BA46C2#BA46C2

#BA46C2 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.9% C 0.208 H 325.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA46C2
RGBrgb(186, 70, 194)
HSLhsl(296, 50%, 52%)
HSVhsv(296, 64%, 76%)
CMYKcmyk(4.1%, 63.9%, 0%, 23.9%)
CIE-LABlab(50.35, 62.47, -42.87)
CIE-LCHlch(50.35, 75.76, 325.54°)
OKLaboklab(59.88% 0.1705 -0.1189)
OKLCHoklch(59.88% 0.208 325.1)
XYZxyz(32.1767, 18.7164, 52.9463)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46C2 #4EC246
analogous
#7C46C2 #BA46C2 #C2468C
triadic
#BA46C2 #C2BA46 #46C2BA
tetradic
#BA46C2 #C27C46 #4EC246 #468CC2
square
#BA46C2 #C27C46 #4EC246 #468CC2
split-complementary
#BA46C2 #8CC246 #46C27C
monochromatic
#66236A #923299 #BA46C2 #CB74D1 #DCA2E0

Accessibility & contrast

On white

4.43
#BA46C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#BA46C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46C2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46C2#FFFFFF#000000##000000
##BA46C21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6FC6
Deuteranopia (green-blind)
#5D7DBF
Tritanopia (blue-blind)
#BE587E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba46c2;
/* rgb */ color: rgb(186, 70, 194);
/* oklch */ color: oklch(59.9% 0.208 325.1);
Tailwind
colors: {
  custom: {
    50: '#d282d5',
    500: '#ba46c2',
    950: '#000000',
  },
}
SCSS
$custom: #ba46c2;
$custom-light: #d282d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46c2",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 296.129,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.20791,
    "h": 325.1
  },
  "luminance": 0.18714
}

Semantic roles & 50–950 ramp

primary
#BA46C2
secondary
#9ACD97
accent
#DA4E57
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA46C2

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

Preview Lab → · Contrast checker → · Palette generator →

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