#BB30B6#BB30B6

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

Color values

HEX#BB30B6
RGBrgb(187, 48, 182)
HSLhsl(302, 59%, 46%)
HSVhsv(302, 74%, 73%)
CMYKcmyk(0%, 74.3%, 2.7%, 26.7%)
CIE-LABlab(47.05, 68.64, -41.11)
CIE-LCHlch(47.05, 80.01, 329.08°)
OKLaboklab(57.33% 0.1938 -0.1136)
OKLCHoklch(57.33% 0.225 329.6)
XYZxyz(29.9938, 16.0584, 45.7667)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30B6 #30BB35
analogous
#7A30BB #BB30B6 #BB3070
triadic
#BB30B6 #B6BB30 #30B6BB
tetradic
#BB30B6 #BB7A30 #30BB35 #3070BB
square
#BB30B6 #BB7A30 #30BB35 #3070BB
split-complementary
#BB30B6 #70BB30 #30BB7A
monochromatic
#5A1757 #8A2387 #BB30B6 #D355CF #E086DD

Accessibility & contrast

On white

4.99
#BB30B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BB30B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30B6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30B6#FFFFFF#000000##FFFFFF
##BB30B61.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B64BA
Deuteranopia (green-blind)
#5A76B3
Tritanopia (blue-blind)
#C24471
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb30b6;
/* rgb */ color: rgb(187, 48, 182);
/* oklch */ color: oklch(57.3% 0.225 329.6);
Tailwind
colors: {
  custom: {
    50: '#d377cc',
    500: '#bb30b6',
    950: '#000000',
  },
}
SCSS
$custom: #bb30b6;
$custom-light: #d377cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30b6",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 302.158,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57325,
    "c": 0.22463,
    "h": 329.6
  },
  "luminance": 0.16056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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