#BB30B7#BB30B7

#BB30B7 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.225 H 329.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BB30B7
RGBrgb(187, 48, 183)
HSLhsl(302, 59%, 46%)
HSVhsv(302, 74%, 73%)
CMYKcmyk(0%, 74.3%, 2.1%, 26.7%)
CIE-LABlab(47.11, 68.80, -41.61)
CIE-LCHlch(47.11, 80.40, 328.83°)
OKLaboklab(57.38% 0.1938 -0.1151)
OKLCHoklch(57.38% 0.225 329.3)
XYZxyz(30.0975, 16.0999, 46.3130)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30B7 #30BB34
analogous
#7930BB #BB30B7 #BB3071
triadic
#BB30B7 #B7BB30 #30B7BB
tetradic
#BB30B7 #BB7930 #30BB34 #3071BB
square
#BB30B7 #BB7930 #30BB34 #3071BB
split-complementary
#BB30B7 #71BB30 #30BB79
monochromatic
#5A1758 #8A2387 #BB30B7 #D355D0 #E086DD

Accessibility & contrast

On white

4.98
#BB30B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BB30B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30B7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30B7#FFFFFF#000000##FFFFFF
##BB30B71.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1964BB
Deuteranopia (green-blind)
#5976B4
Tritanopia (blue-blind)
#C24471
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb30b7;
/* rgb */ color: rgb(187, 48, 183);
/* oklch */ color: oklch(57.4% 0.225 329.3);
Tailwind
colors: {
  custom: {
    50: '#d377cd',
    500: '#bb30b7',
    950: '#000000',
  },
}
SCSS
$custom: #bb30b7;
$custom-light: #d377cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30b7",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 301.727,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57381,
    "c": 0.22538,
    "h": 329.3
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#BB30B7
secondary
#7DC980
accent
#E24A45
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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