#BA46C1#BA46C1

#BA46C1 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.8% C 0.207 H 325.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BA46C1
RGBrgb(186, 70, 193)
HSLhsl(297, 50%, 52%)
HSVhsv(297, 64%, 76%)
CMYKcmyk(3.6%, 63.7%, 0%, 24.3%)
CIE-LABlab(50.30, 62.29, -42.38)
CIE-LCHlch(50.30, 75.34, 325.77°)
OKLaboklab(59.82% 0.1705 -0.1175)
OKLCHoklch(59.82% 0.207 325.4)
XYZxyz(32.0648, 18.6716, 52.3568)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46C1 #4DC146
analogous
#7D46C1 #BA46C1 #C1468B
triadic
#BA46C1 #C1BA46 #46C1BA
tetradic
#BA46C1 #C17D46 #4DC146 #468BC1
square
#BA46C1 #C17D46 #4DC146 #468BC1
split-complementary
#BA46C1 #8BC146 #46C17D
monochromatic
#652369 #913397 #BA46C1 #CB74D0 #DCA2E0

Accessibility & contrast

On white

4.44
#BA46C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BA46C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46C1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46C1#FFFFFF#000000##000000
##BA46C11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#306EC5
Deuteranopia (green-blind)
#5E7DBE
Tritanopia (blue-blind)
#BE587D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba46c1;
/* rgb */ color: rgb(186, 70, 193);
/* oklch */ color: oklch(59.8% 0.207 325.4);
Tailwind
colors: {
  custom: {
    50: '#d282d4',
    500: '#ba46c1',
    950: '#000000',
  },
}
SCSS
$custom: #ba46c1;
$custom-light: #d282d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46c1",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 193
  },
  "hsl": {
    "h": 296.585,
    "s": 49.798,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59822,
    "c": 0.20706,
    "h": 325.4
  },
  "luminance": 0.1867
}

Semantic roles & 50–950 ramp

primary
#BA46C1
secondary
#99CC96
accent
#D94E56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA46C1

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

Preview Lab → · Contrast checker → · Palette generator →

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