#BA46BD#BA46BD

#BA46BD is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.6% C 0.204 H 326.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA46BD
RGBrgb(186, 70, 189)
HSLhsl(298, 47%, 51%)
HSVhsv(298, 63%, 74%)
CMYKcmyk(1.6%, 63%, 0%, 25.9%)
CIE-LABlab(50.09, 61.59, -40.39)
CIE-LCHlch(50.09, 73.65, 326.75°)
OKLaboklab(59.6% 0.1703 -0.1117)
OKLCHoklch(59.6% 0.204 326.7)
XYZxyz(31.6246, 18.4956, 50.0385)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46BD #49BD46
analogous
#7E46BD #BA46BD #BD4684
triadic
#BA46BD #BDBA46 #46BDBA
tetradic
#BA46BD #BD7E46 #49BD46 #4684BD
square
#BA46BD #BD7E46 #49BD46 #4684BD
split-complementary
#BA46BD #84BD46 #46BD7E
monochromatic
#632465 #8F3492 #BA46BD #CB73CD #DCA0DD

Accessibility & contrast

On white

4.47
#BA46BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BA46BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46BD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46BD#FFFFFF#000000##000000
##BA46BD1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#356EC1
Deuteranopia (green-blind)
#607CBA
Tritanopia (blue-blind)
#BF567B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba46bd;
/* rgb */ color: rgb(186, 70, 189);
/* oklch */ color: oklch(59.6% 0.204 326.7);
Tailwind
colors: {
  custom: {
    50: '#d281d1',
    500: '#ba46bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba46bd;
$custom-light: #d281d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46bd",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 298.487,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59603,
    "c": 0.20369,
    "h": 326.7
  },
  "luminance": 0.18494
}

Semantic roles & 50–950 ramp

primary
#BA46BD
secondary
#96CA95
accent
#D75154
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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