#BB46B2#BB46B2

#BB46B2 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.2% C 0.195 H 330.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BB46B2
RGBrgb(187, 70, 178)
HSLhsl(305, 46%, 50%)
HSVhsv(305, 63%, 73%)
CMYKcmyk(0%, 62.6%, 4.8%, 26.7%)
CIE-LABlab(49.69, 59.98, -34.60)
CIE-LCHlch(49.69, 69.24, 330.02°)
OKLaboklab(59.16% 0.1706 -0.095)
OKLCHoklch(59.16% 0.195 330.9)
XYZxyz(30.7194, 18.1617, 43.9984)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB46B2 #46BB4F
analogous
#8946BB #BB46B2 #BB4678
triadic
#BB46B2 #B2BB46 #46B2BB
tetradic
#BB46B2 #BB8946 #46BB4F #4678BB
square
#BB46B2 #BB8946 #46BB4F #4678BB
split-complementary
#BB46B2 #78BB46 #46BB89
monochromatic
#62245E #8F3588 #BB46B2 #CB73C5 #DCA0D7

Accessibility & contrast

On white

4.53
#BB46B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BB46B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB46B2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB46B2#FFFFFF#000000##000000
##BB46B21.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB5
Deuteranopia (green-blind)
#667CAF
Tritanopia (blue-blind)
#C25276
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb46b2;
/* rgb */ color: rgb(187, 70, 178);
/* oklch */ color: oklch(59.2% 0.195 330.9);
Tailwind
colors: {
  custom: {
    50: '#d381c9',
    500: '#bb46b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb46b2;
$custom-light: #d381c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb46b2",
  "rgb": {
    "r": 187,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 304.615,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59164,
    "c": 0.19524,
    "h": 330.9
  },
  "luminance": 0.18159
}

Semantic roles & 50–950 ramp

primary
#BB46B2
secondary
#94C898
accent
#D65C52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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