#BB46C5#BB46C5

#BB46C5 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.2% C 0.211 H 324.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BB46C5
RGBrgb(187, 70, 197)
HSLhsl(295, 52%, 52%)
HSVhsv(295, 64%, 77%)
CMYKcmyk(5.1%, 64.5%, 0%, 22.7%)
CIE-LABlab(50.66, 63.24, -44.11)
CIE-LCHlch(50.66, 77.10, 325.11°)
OKLaboklab(60.18% 0.1718 -0.1225)
OKLCHoklch(60.18% 0.211 324.5)
XYZxyz(32.7609, 18.9783, 54.7501)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB46C5 #50C546
analogous
#7C46C5 #BB46C5 #C5468F
triadic
#BB46C5 #C5BB46 #46C5BB
tetradic
#BB46C5 #C57C46 #50C546 #468FC5
square
#BB46C5 #C57C46 #50C546 #468FC5
split-complementary
#BB46C5 #8FC546 #46C57C
monochromatic
#68236E #94319D #BB46C5 #CC75D4 #DDA3E2

Accessibility & contrast

On white

4.38
#BB46C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BB46C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB46C5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB46C5#FFFFFF#000000##000000
##BB46C51.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6FC9
Deuteranopia (green-blind)
#5C7DC2
Tritanopia (blue-blind)
#BF5980
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb46c5;
/* rgb */ color: rgb(187, 70, 197);
/* oklch */ color: oklch(60.2% 0.211 324.5);
Tailwind
colors: {
  custom: {
    50: '#d382d7',
    500: '#bb46c5',
    950: '#000000',
  },
}
SCSS
$custom: #bb46c5;
$custom-light: #d382d7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb46c5",
  "rgb": {
    "r": 187,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 295.276,
    "s": 52.263,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60182,
    "c": 0.21096,
    "h": 324.5
  },
  "luminance": 0.18976
}

Semantic roles & 50–950 ramp

primary
#BB46C5
secondary
#9CCF98
accent
#DC4C57
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BB46C5

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

Preview Lab → · Contrast checker → · Palette generator →

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