#BB30B1#BB30B1

#BB30B1 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.221 H 331.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BB30B1
RGBrgb(187, 48, 177)
HSLhsl(304, 59%, 46%)
HSVhsv(304, 74%, 73%)
CMYKcmyk(0%, 74.3%, 5.3%, 26.7%)
CIE-LABlab(46.78, 67.86, -38.59)
CIE-LCHlch(46.78, 78.06, 330.37°)
OKLaboklab(57.05% 0.1937 -0.1063)
OKLCHoklch(57.05% 0.221 331.2)
XYZxyz(29.4863, 15.8554, 43.0939)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30B1 #30BB3A
analogous
#7F30BB #BB30B1 #BB306B
triadic
#BB30B1 #B1BB30 #30B1BB
tetradic
#BB30B1 #BB7F30 #30BB3A #306BBB
square
#BB30B1 #BB7F30 #30BB3A #306BBB
split-complementary
#BB30B1 #6BBB30 #30BB7F
monochromatic
#5A1755 #8A2383 #BB30B1 #D355CA #E086D9

Accessibility & contrast

On white

5.04
#BB30B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BB30B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30B1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30B1#FFFFFF#000000##FFFFFF
##BB30B11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B4
Deuteranopia (green-blind)
#5C76AE
Tritanopia (blue-blind)
#C3416E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb30b1;
/* rgb */ color: rgb(187, 48, 177);
/* oklch */ color: oklch(57.0% 0.221 331.2);
Tailwind
colors: {
  custom: {
    50: '#d377c9',
    500: '#bb30b1',
    950: '#000000',
  },
}
SCSS
$custom: #bb30b1;
$custom-light: #d377c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30b1",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 304.317,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57047,
    "c": 0.22097,
    "h": 331.2
  },
  "luminance": 0.15853
}

Semantic roles & 50–950 ramp

primary
#BB30B1
secondary
#7DC983
accent
#E25145
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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