#BB46B6#BB46B6

#BB46B6 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.4% C 0.198 H 329.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BB46B6
RGBrgb(187, 70, 182)
HSLhsl(303, 46%, 50%)
HSVhsv(303, 63%, 73%)
CMYKcmyk(0%, 62.6%, 2.7%, 26.7%)
CIE-LABlab(49.89, 60.64, -36.63)
CIE-LCHlch(49.89, 70.85, 328.87°)
OKLaboklab(59.37% 0.1709 -0.1008)
OKLCHoklch(59.37% 0.198 329.5)
XYZxyz(31.1269, 18.3247, 46.1445)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB46B6 #46BB4B
analogous
#8546BB #BB46B6 #BB467B
triadic
#BB46B6 #B6BB46 #46B6BB
tetradic
#BB46B6 #BB8546 #46BB4B #467BBB
square
#BB46B6 #BB8546 #46BB4B #467BBB
split-complementary
#BB46B6 #7BBB46 #46BB85
monochromatic
#622460 #8F358B #BB46B6 #CB73C8 #DCA0D9

Accessibility & contrast

On white

4.50
#BB46B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#BB46B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB46B6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB46B6#FFFFFF#000000##000000
##BB46B61.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DB9
Deuteranopia (green-blind)
#647CB3
Tritanopia (blue-blind)
#C15378
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb46b6;
/* rgb */ color: rgb(187, 70, 182);
/* oklch */ color: oklch(59.4% 0.198 329.5);
Tailwind
colors: {
  custom: {
    50: '#d381cc',
    500: '#bb46b6',
    950: '#000000',
  },
}
SCSS
$custom: #bb46b6;
$custom-light: #d381cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb46b6",
  "rgb": {
    "r": 187,
    "g": 70,
    "b": 182
  },
  "hsl": {
    "h": 302.564,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5937,
    "c": 0.19846,
    "h": 329.5
  },
  "luminance": 0.18323
}

Semantic roles & 50–950 ramp

primary
#BB46B6
secondary
#94C897
accent
#D65852
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB46B6

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

Preview Lab → · Contrast checker → · Palette generator →

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