#BA46BB#BA46BB

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

Color values

HEX#BA46BB
RGBrgb(186, 70, 187)
HSLhsl(299, 46%, 50%)
HSVhsv(299, 63%, 73%)
CMYKcmyk(0.5%, 62.6%, 0%, 26.7%)
CIE-LABlab(49.99, 61.25, -39.39)
CIE-LCHlch(49.99, 72.82, 327.25°)
OKLaboklab(59.5% 0.1702 -0.1088)
OKLCHoklch(59.5% 0.202 327.4)
XYZxyz(31.4090, 18.4093, 48.9031)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46BB #47BB46
analogous
#7F46BB #BA46BB #BB4681
triadic
#BA46BB #BBBA46 #46BBBA
tetradic
#BA46BB #BB7F46 #47BB46 #4681BB
square
#BA46BB #BB7F46 #47BB46 #4681BB
split-complementary
#BA46BB #81BB46 #46BB7F
monochromatic
#622462 #8E358F #BA46BB #CB73CB #DBA0DC

Accessibility & contrast

On white

4.49
#BA46BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BA46BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46BB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46BB#FFFFFF#000000##000000
##BA46BB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#BF557A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba46bb;
/* rgb */ color: rgb(186, 70, 187);
/* oklch */ color: oklch(59.5% 0.202 327.4);
Tailwind
colors: {
  custom: {
    50: '#d281d0',
    500: '#ba46bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba46bb;
$custom-light: #d281d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46bb",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 299.487,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59495,
    "c": 0.20202,
    "h": 327.4
  },
  "luminance": 0.18407
}

Semantic roles & 50–950 ramp

primary
#BA46BB
secondary
#95C894
accent
#D65253
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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