#BB46C1#BB46C1

#BB46C1 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.208 H 325.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BB46C1
RGBrgb(187, 70, 193)
HSLhsl(297, 50%, 52%)
HSVhsv(297, 64%, 76%)
CMYKcmyk(3.1%, 63.7%, 0%, 24.3%)
CIE-LABlab(50.45, 62.53, -42.13)
CIE-LCHlch(50.45, 75.40, 326.03°)
OKLaboklab(59.96% 0.1716 -0.1167)
OKLCHoklch(59.96% 0.208 325.8)
XYZxyz(32.3086, 18.7974, 52.3682)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB46C1 #4CC146
analogous
#7E46C1 #BB46C1 #C1468A
triadic
#BB46C1 #C1BB46 #46C1BB
tetradic
#BB46C1 #C17E46 #4CC146 #468AC1
square
#BB46C1 #C17E46 #4CC146 #468AC1
split-complementary
#BB46C1 #8AC146 #46C17E
monochromatic
#662369 #923397 #BB46C1 #CC74D0 #DDA2E0

Accessibility & contrast

On white

4.41
#BB46C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BB46C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB46C1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB46C1#FFFFFF#000000##000000
##BB46C11.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#316FC5
Deuteranopia (green-blind)
#5F7DBE
Tritanopia (blue-blind)
#BF587D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb46c1;
/* rgb */ color: rgb(187, 70, 193);
/* oklch */ color: oklch(60.0% 0.208 325.8);
Tailwind
colors: {
  custom: {
    50: '#d382d4',
    500: '#bb46c1',
    950: '#000000',
  },
}
SCSS
$custom: #bb46c1;
$custom-light: #d382d4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb46c1",
  "rgb": {
    "r": 187,
    "g": 70,
    "b": 193
  },
  "hsl": {
    "h": 297.073,
    "s": 49.798,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59959,
    "c": 0.20758,
    "h": 325.8
  },
  "luminance": 0.18795
}

Semantic roles & 50–950 ramp

primary
#BB46C1
secondary
#99CC96
accent
#D94E55
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BB46C1

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

Preview Lab → · Contrast checker → · Palette generator →

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