#BB30C5#BB30C5

#BB30C5 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.2% C 0.236 H 325.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BB30C5
RGBrgb(187, 48, 197)
HSLhsl(296, 61%, 48%)
HSVhsv(296, 76%, 77%)
CMYKcmyk(5.1%, 75.6%, 0%, 22.7%)
CIE-LABlab(47.90, 71.07, -48.51)
CIE-LCHlch(47.90, 86.05, 325.69°)
OKLaboklab(58.2% 0.1934 -0.1351)
OKLCHoklch(58.2% 0.236 325.1)
XYZxyz(31.6278, 16.7120, 54.3724)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30C5 #3AC530
analogous
#7030C5 #BB30C5 #C53084
triadic
#BB30C5 #C5BB30 #30C5BB
tetradic
#BB30C5 #C57030 #3AC530 #3084C5
square
#BB30C5 #C57030 #3AC530 #3084C5
split-complementary
#BB30C5 #84C530 #30C570
monochromatic
#5E1863 #8C2494 #BB30C5 #CF5BD7 #DD8CE3

Accessibility & contrast

On white

4.84
#BB30C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BB30C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30C5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30C5#FFFFFF#000000##FFFFFF
##BB30C51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#5077C1
Tritanopia (blue-blind)
#BF4B79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb30c5;
/* rgb */ color: rgb(187, 48, 197);
/* oklch */ color: oklch(58.2% 0.236 325.1);
Tailwind
colors: {
  custom: {
    50: '#d478d7',
    500: '#bb30c5',
    950: '#000000',
  },
}
SCSS
$custom: #bb30c5;
$custom-light: #d478d7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30c5",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 295.973,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58198,
    "c": 0.23595,
    "h": 325.1
  },
  "luminance": 0.1671
}

Semantic roles & 50–950 ramp

primary
#BB30C5
secondary
#88CD84
accent
#E4444F
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BB30C5

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

Preview Lab → · Contrast checker → · Palette generator →

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