#BB30B0#BB30B0

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

Color values

HEX#BB30B0
RGBrgb(187, 48, 176)
HSLhsl(305, 59%, 46%)
HSVhsv(305, 74%, 73%)
CMYKcmyk(0%, 74.3%, 5.9%, 26.7%)
CIE-LABlab(46.73, 67.70, -38.09)
CIE-LCHlch(46.73, 77.68, 330.64°)
OKLaboklab(56.99% 0.1937 -0.1049)
OKLCHoklch(56.99% 0.22 331.6)
XYZxyz(29.3870, 15.8157, 42.5709)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30B0 #30BB3B
analogous
#8030BB #BB30B0 #BB306A
triadic
#BB30B0 #B0BB30 #30B0BB
tetradic
#BB30B0 #BB8030 #30BB3B #306ABB
square
#BB30B0 #BB8030 #30BB3B #306ABB
split-complementary
#BB30B0 #6ABB30 #30BB80
monochromatic
#5A1754 #8A2382 #BB30B0 #D355C9 #E086D9

Accessibility & contrast

On white

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

On black

4.16
#BB30B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB30B0#FFFFFF#000000##FFFFFF
##BB30B01.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B3
Deuteranopia (green-blind)
#5D76AD
Tritanopia (blue-blind)
#C3416E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb30b0;
/* rgb */ color: rgb(187, 48, 176);
/* oklch */ color: oklch(57.0% 0.220 331.6);
Tailwind
colors: {
  custom: {
    50: '#d377c8',
    500: '#bb30b0',
    950: '#000000',
  },
}
SCSS
$custom: #bb30b0;
$custom-light: #d377c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30b0",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 304.748,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.22024,
    "h": 331.6
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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