#BB30B8#BB30B8

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

Color values

HEX#BB30B8
RGBrgb(187, 48, 184)
HSLhsl(301, 59%, 46%)
HSVhsv(301, 74%, 73%)
CMYKcmyk(0%, 74.3%, 1.6%, 26.7%)
CIE-LABlab(47.16, 68.95, -42.11)
CIE-LCHlch(47.16, 80.79, 328.59°)
OKLaboklab(57.44% 0.1938 -0.1165)
OKLCHoklch(57.44% 0.226 329)
XYZxyz(30.2019, 16.1417, 46.8631)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30B8 #30BB33
analogous
#7830BB #BB30B8 #BB3072
triadic
#BB30B8 #B8BB30 #30B8BB
tetradic
#BB30B8 #BB7830 #30BB33 #3072BB
square
#BB30B8 #BB7830 #30BB33 #3072BB
split-complementary
#BB30B8 #72BB30 #30BB78
monochromatic
#5A1758 #8A2388 #BB30B8 #D355D1 #E086DE

Accessibility & contrast

On white

4.97
#BB30B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BB30B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30B8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30B8#FFFFFF#000000##FFFFFF
##BB30B81.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BC
Deuteranopia (green-blind)
#5876B5
Tritanopia (blue-blind)
#C14572
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb30b8;
/* rgb */ color: rgb(187, 48, 184);
/* oklch */ color: oklch(57.4% 0.226 329.0);
Tailwind
colors: {
  custom: {
    50: '#d377ce',
    500: '#bb30b8',
    950: '#000000',
  },
}
SCSS
$custom: #bb30b8;
$custom-light: #d377ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30b8",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 301.295,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57438,
    "c": 0.22612,
    "h": 329
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#BB30B8
secondary
#7DC97F
accent
#E24945
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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