#BB30BD#BB30BD

#BB30BD is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.230 H 327.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BB30BD
RGBrgb(187, 48, 189)
HSLhsl(299, 59%, 46%)
HSVhsv(299, 75%, 74%)
CMYKcmyk(1.1%, 74.6%, 0%, 25.9%)
CIE-LABlab(47.44, 69.76, -44.59)
CIE-LCHlch(47.44, 82.79, 327.41°)
OKLaboklab(57.73% 0.1937 -0.1237)
OKLCHoklch(57.73% 0.23 327.4)
XYZxyz(30.7353, 16.3550, 49.6723)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30BD #32BD30
analogous
#7530BD #BB30BD #BD3079
triadic
#BB30BD #BDBB30 #30BDBB
tetradic
#BB30BD #BD7530 #32BD30 #3079BD
square
#BB30BD #BD7530 #32BD30 #3079BD
split-complementary
#BB30BD #79BD30 #30BD75
monochromatic
#5A175B #8B248C #BB30BD #D256D4 #DF87E0

Accessibility & contrast

On white

4.92
#BB30BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BB30BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30BD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30BD#FFFFFF#000000##FFFFFF
##BB30BD1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0865C1
Deuteranopia (green-blind)
#5677BA
Tritanopia (blue-blind)
#C14775
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb30bd;
/* rgb */ color: rgb(187, 48, 189);
/* oklch */ color: oklch(57.7% 0.230 327.4);
Tailwind
colors: {
  custom: {
    50: '#d377d1',
    500: '#bb30bd',
    950: '#000000',
  },
}
SCSS
$custom: #bb30bd;
$custom-light: #d377d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30bd",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 299.149,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57725,
    "c": 0.22987,
    "h": 327.4
  },
  "luminance": 0.16353
}

Semantic roles & 50–950 ramp

primary
#BB30BD
secondary
#80CA7F
accent
#E34547
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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