#BA46C4#BA46C4

#BA46C4 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.210 H 324.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA46C4
RGBrgb(186, 70, 196)
HSLhsl(295, 52%, 52%)
HSVhsv(295, 64%, 77%)
CMYKcmyk(5.1%, 64.3%, 0%, 23.1%)
CIE-LABlab(50.46, 62.82, -43.86)
CIE-LCHlch(50.46, 76.62, 325.08°)
OKLaboklab(59.99% 0.1706 -0.1218)
OKLCHoklch(59.99% 0.21 324.5)
XYZxyz(32.4028, 18.8069, 54.1372)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46C4 #50C446
analogous
#7B46C4 #BA46C4 #C4468F
triadic
#BA46C4 #C4BA46 #46C4BA
tetradic
#BA46C4 #C47B46 #50C446 #468FC4
square
#BA46C4 #C47B46 #50C446 #468FC4
split-complementary
#BA46C4 #8FC446 #46C47B
monochromatic
#67236D #93329B #BA46C4 #CB74D3 #DDA3E2

Accessibility & contrast

On white

4.41
#BA46C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BA46C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46C4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46C4#FFFFFF#000000##000000
##BA46C41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6FC8
Deuteranopia (green-blind)
#5C7DC1
Tritanopia (blue-blind)
#BE597F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba46c4;
/* rgb */ color: rgb(186, 70, 196);
/* oklch */ color: oklch(60.0% 0.210 324.5);
Tailwind
colors: {
  custom: {
    50: '#d282d6',
    500: '#ba46c4',
    950: '#000000',
  },
}
SCSS
$custom: #ba46c4;
$custom-light: #d282d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46c4",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 295.238,
    "s": 51.639,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59989,
    "c": 0.20961,
    "h": 324.5
  },
  "luminance": 0.18805
}

Semantic roles & 50–950 ramp

primary
#BA46C4
secondary
#9CCE97
accent
#DB4D58
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA46C4

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

Preview Lab → · Contrast checker → · Palette generator →

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