#BB30B9#BB30B9

#BB30B9 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.227 H 328.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BB30B9
RGBrgb(187, 48, 185)
HSLhsl(301, 59%, 46%)
HSVhsv(301, 74%, 73%)
CMYKcmyk(0%, 74.3%, 1.1%, 26.7%)
CIE-LABlab(47.21, 69.11, -42.61)
CIE-LCHlch(47.21, 81.19, 328.35°)
OKLaboklab(57.5% 0.1938 -0.118)
OKLCHoklch(57.5% 0.227 328.7)
XYZxyz(30.3071, 16.1838, 47.4171)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30B9 #30BB32
analogous
#7730BB #BB30B9 #BB3073
triadic
#BB30B9 #B9BB30 #30B9BB
tetradic
#BB30B9 #BB7730 #30BB32 #3073BB
square
#BB30B9 #BB7730 #30BB32 #3073BB
split-complementary
#BB30B9 #73BB30 #30BB77
monochromatic
#5A1759 #8A2389 #BB30B9 #D355D2 #E086DF

Accessibility & contrast

On white

4.96
#BB30B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BB30B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30B9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30B9#FFFFFF#000000##FFFFFF
##BB30B91.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1564BD
Deuteranopia (green-blind)
#5876B6
Tritanopia (blue-blind)
#C14573
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb30b9;
/* rgb */ color: rgb(187, 48, 185);
/* oklch */ color: oklch(57.5% 0.227 328.7);
Tailwind
colors: {
  custom: {
    50: '#d377ce',
    500: '#bb30b9',
    950: '#000000',
  },
}
SCSS
$custom: #bb30b9;
$custom-light: #d377ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30b9",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 300.863,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57495,
    "c": 0.22686,
    "h": 328.7
  },
  "luminance": 0.16181
}

Semantic roles & 50–950 ramp

primary
#BB30B9
secondary
#7DC97F
accent
#E24845
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB30B9

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

Preview Lab → · Contrast checker → · Palette generator →

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