#BB30B5#BB30B5

#BB30B5 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.224 H 329.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BB30B5
RGBrgb(187, 48, 181)
HSLhsl(303, 59%, 46%)
HSVhsv(303, 74%, 73%)
CMYKcmyk(0%, 74.3%, 3.2%, 26.7%)
CIE-LABlab(47.00, 68.48, -40.61)
CIE-LCHlch(47.00, 79.61, 329.33°)
OKLaboklab(57.27% 0.1938 -0.1122)
OKLCHoklch(57.27% 0.224 329.9)
XYZxyz(29.8908, 16.0172, 45.2244)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30B5 #30BB36
analogous
#7B30BB #BB30B5 #BB306F
triadic
#BB30B5 #B5BB30 #30B5BB
tetradic
#BB30B5 #BB7B30 #30BB36 #306FBB
square
#BB30B5 #BB7B30 #30BB36 #306FBB
split-complementary
#BB30B5 #6FBB30 #30BB7B
monochromatic
#5A1757 #8A2386 #BB30B5 #D355CE #E086DC

Accessibility & contrast

On white

5.00
#BB30B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BB30B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30B5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30B5#FFFFFF#000000##FFFFFF
##BB30B51.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D63B9
Deuteranopia (green-blind)
#5A76B2
Tritanopia (blue-blind)
#C24370
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb30b5;
/* rgb */ color: rgb(187, 48, 181);
/* oklch */ color: oklch(57.3% 0.224 329.9);
Tailwind
colors: {
  custom: {
    50: '#d377cc',
    500: '#bb30b5',
    950: '#000000',
  },
}
SCSS
$custom: #bb30b5;
$custom-light: #d377cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30b5",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 302.59,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57269,
    "c": 0.22389,
    "h": 329.9
  },
  "luminance": 0.16015
}

Semantic roles & 50–950 ramp

primary
#BB30B5
secondary
#7DC981
accent
#E24C45
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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