#BA46C0#BA46C0

#BA46C0 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.206 H 325.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA46C0
RGBrgb(186, 70, 192)
HSLhsl(297, 49%, 51%)
HSVhsv(297, 64%, 75%)
CMYKcmyk(3.1%, 63.5%, 0%, 24.7%)
CIE-LABlab(50.25, 62.11, -41.88)
CIE-LCHlch(50.25, 74.91, 326.01°)
OKLaboklab(59.77% 0.1705 -0.116)
OKLCHoklch(59.77% 0.206 325.8)
XYZxyz(31.9536, 18.6272, 51.7713)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46C0 #4CC046
analogous
#7D46C0 #BA46C0 #C04689
triadic
#BA46C0 #C0BA46 #46C0BA
tetradic
#BA46C0 #C07D46 #4CC046 #4689C0
square
#BA46C0 #C07D46 #4CC046 #4689C0
split-complementary
#BA46C0 #89C046 #46C07D
monochromatic
#652368 #913396 #BA46C0 #CB74D0 #DCA1DF

Accessibility & contrast

On white

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

On black

4.72
#BA46C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46C0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46C0#FFFFFF#000000##000000
##BA46C01.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#316EC4
Deuteranopia (green-blind)
#5E7DBD
Tritanopia (blue-blind)
#BE577D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba46c0;
/* rgb */ color: rgb(186, 70, 192);
/* oklch */ color: oklch(59.8% 0.206 325.8);
Tailwind
colors: {
  custom: {
    50: '#d282d3',
    500: '#ba46c0',
    950: '#000000',
  },
}
SCSS
$custom: #ba46c0;
$custom-light: #d282d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46c0",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 192
  },
  "hsl": {
    "h": 297.049,
    "s": 49.194,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59767,
    "c": 0.20622,
    "h": 325.8
  },
  "luminance": 0.18625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA46C0

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

Preview Lab → · Contrast checker → · Palette generator →

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