#BA46BC#BA46BC

#BA46BC is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.203 H 327.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BA46BC
RGBrgb(186, 70, 188)
HSLhsl(299, 47%, 51%)
HSVhsv(299, 63%, 74%)
CMYKcmyk(1.1%, 62.8%, 0%, 26.3%)
CIE-LABlab(50.04, 61.42, -39.89)
CIE-LCHlch(50.04, 73.24, 327.00°)
OKLaboklab(59.55% 0.1703 -0.1103)
OKLCHoklch(59.55% 0.203 327.1)
XYZxyz(31.5164, 18.4523, 49.4688)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46BC #48BC46
analogous
#7F46BC #BA46BC #BC4683
triadic
#BA46BC #BCBA46 #46BCBA
tetradic
#BA46BC #BC7F46 #48BC46 #4683BC
square
#BA46BC #BC7F46 #48BC46 #4683BC
split-complementary
#BA46BC #83BC46 #46BC7F
monochromatic
#622464 #8F3490 #BA46BC #CB73CC #DCA0DD

Accessibility & contrast

On white

4.48
#BA46BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#BA46BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46BC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46BC#FFFFFF#000000##000000
##BA46BC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#356DC0
Deuteranopia (green-blind)
#617CB9
Tritanopia (blue-blind)
#BF567B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba46bc;
/* rgb */ color: rgb(186, 70, 188);
/* oklch */ color: oklch(59.5% 0.203 327.1);
Tailwind
colors: {
  custom: {
    50: '#d281d0',
    500: '#ba46bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba46bc;
$custom-light: #d281d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46bc",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 298.983,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59549,
    "c": 0.20285,
    "h": 327.1
  },
  "luminance": 0.1845
}

Semantic roles & 50–950 ramp

primary
#BA46BC
secondary
#96C995
accent
#D65154
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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