#BA46BF#BA46BF

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

Color values

HEX#BA46BF
RGBrgb(186, 70, 191)
HSLhsl(298, 49%, 51%)
HSVhsv(298, 63%, 75%)
CMYKcmyk(2.6%, 63.4%, 0%, 25.1%)
CIE-LABlab(50.20, 61.94, -41.38)
CIE-LCHlch(50.20, 74.49, 326.25°)
OKLaboklab(59.71% 0.1704 -0.1146)
OKLCHoklch(59.71% 0.205 326.1)
XYZxyz(31.8432, 18.5830, 51.1898)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46BF #4BBF46
analogous
#7D46BF #BA46BF #BF4687
triadic
#BA46BF #BFBA46 #46BFBA
tetradic
#BA46BF #BF7D46 #4BBF46 #4687BF
square
#BA46BF #BF7D46 #4BBF46 #4687BF
split-complementary
#BA46BF #87BF46 #46BF7D
monochromatic
#642467 #903394 #BA46BF #CB73CF #DCA1DE

Accessibility & contrast

On white

4.45
#BA46BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA46BF#FFFFFF#000000##000000
##BA46BF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#336EC3
Deuteranopia (green-blind)
#5F7DBC
Tritanopia (blue-blind)
#BF577C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba46bf;
/* rgb */ color: rgb(186, 70, 191);
/* oklch */ color: oklch(59.7% 0.205 326.1);
Tailwind
colors: {
  custom: {
    50: '#d282d3',
    500: '#ba46bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba46bf;
$custom-light: #d282d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46bf",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 297.521,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59712,
    "c": 0.20537,
    "h": 326.1
  },
  "luminance": 0.18581
}

Semantic roles & 50–950 ramp

primary
#BA46BF
secondary
#98CB96
accent
#D85055
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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