#BB46B7#BB46B7

#BB46B7 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.4% C 0.199 H 329.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BB46B7
RGBrgb(187, 70, 183)
HSLhsl(302, 46%, 50%)
HSVhsv(302, 63%, 73%)
CMYKcmyk(0%, 62.6%, 2.1%, 26.7%)
CIE-LABlab(49.94, 60.81, -37.13)
CIE-LCHlch(49.94, 71.25, 328.59°)
OKLaboklab(59.42% 0.171 -0.1023)
OKLCHoklch(59.42% 0.199 329.1)
XYZxyz(31.2306, 18.3662, 46.6907)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB46B7 #46BB4A
analogous
#8446BB #BB46B7 #BB467D
triadic
#BB46B7 #B7BB46 #46B7BB
tetradic
#BB46B7 #BB8446 #46BB4A #467DBB
square
#BB46B7 #BB8446 #46BB4A #467DBB
split-complementary
#BB46B7 #7DBB46 #46BB84
monochromatic
#622460 #8F358C #BB46B7 #CB73C8 #DCA0DA

Accessibility & contrast

On white

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

On black

4.67
#BB46B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB46B7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB46B7#FFFFFF#000000##000000
##BB46B71.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBA
Deuteranopia (green-blind)
#647CB4
Tritanopia (blue-blind)
#C15478
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb46b7;
/* rgb */ color: rgb(187, 70, 183);
/* oklch */ color: oklch(59.4% 0.199 329.1);
Tailwind
colors: {
  custom: {
    50: '#d381cd',
    500: '#bb46b7',
    950: '#000000',
  },
}
SCSS
$custom: #bb46b7;
$custom-light: #d381cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb46b7",
  "rgb": {
    "r": 187,
    "g": 70,
    "b": 183
  },
  "hsl": {
    "h": 302.051,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59422,
    "c": 0.19927,
    "h": 329.1
  },
  "luminance": 0.18364
}

Semantic roles & 50–950 ramp

primary
#BB46B7
secondary
#94C896
accent
#D65652
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB46B7

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

Preview Lab → · Contrast checker → · Palette generator →

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