#BB46B1#BB46B1

#BB46B1 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.1% C 0.194 H 331.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BB46B1
RGBrgb(187, 70, 177)
HSLhsl(305, 46%, 50%)
HSVhsv(305, 63%, 73%)
CMYKcmyk(0%, 62.6%, 5.3%, 26.7%)
CIE-LABlab(49.64, 59.81, -34.09)
CIE-LCHlch(49.64, 68.85, 330.32°)
OKLaboklab(59.11% 0.1705 -0.0935)
OKLCHoklch(59.11% 0.194 331.3)
XYZxyz(30.6194, 18.1217, 43.4716)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB46B1 #46BB50
analogous
#8A46BB #BB46B1 #BB4676
triadic
#BB46B1 #B1BB46 #46B1BB
tetradic
#BB46B1 #BB8A46 #46BB50 #4676BB
square
#BB46B1 #BB8A46 #46BB50 #4676BB
split-complementary
#BB46B1 #76BB46 #46BB8A
monochromatic
#62245D #8F3587 #BB46B1 #CB73C4 #DCA0D7

Accessibility & contrast

On white

4.54
#BB46B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BB46B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB46B1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB46B1#FFFFFF#000000##000000
##BB46B11.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB4
Deuteranopia (green-blind)
#677CAE
Tritanopia (blue-blind)
#C25175
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb46b1;
/* rgb */ color: rgb(187, 70, 177);
/* oklch */ color: oklch(59.1% 0.194 331.3);
Tailwind
colors: {
  custom: {
    50: '#d381c8',
    500: '#bb46b1',
    950: '#000000',
  },
}
SCSS
$custom: #bb46b1;
$custom-light: #d381c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb46b1",
  "rgb": {
    "r": 187,
    "g": 70,
    "b": 177
  },
  "hsl": {
    "h": 305.128,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59113,
    "c": 0.19444,
    "h": 331.3
  },
  "luminance": 0.18119
}

Semantic roles & 50–950 ramp

primary
#BB46B1
secondary
#94C899
accent
#D65D52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB46B1

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

Preview Lab → · Contrast checker → · Palette generator →

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