#BB30BC#BB30BC

#BB30BC is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.7% C 0.229 H 327.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BB30BC
RGBrgb(187, 48, 188)
HSLhsl(300, 59%, 46%)
HSVhsv(300, 74%, 74%)
CMYKcmyk(0.5%, 74.5%, 0%, 26.3%)
CIE-LABlab(47.38, 69.59, -44.09)
CIE-LCHlch(47.38, 82.39, 327.64°)
OKLaboklab(57.67% 0.1938 -0.1223)
OKLCHoklch(57.67% 0.229 327.7)
XYZxyz(30.6272, 16.3118, 49.1026)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30BC #31BC30
analogous
#7530BC #BB30BC #BC3077
triadic
#BB30BC #BCBB30 #30BCBB
tetradic
#BB30BC #BC7530 #31BC30 #3077BC
square
#BB30BC #BC7530 #31BC30 #3077BC
split-complementary
#BB30BC #77BC30 #30BC75
monochromatic
#5A175A #8B248B #BB30BC #D355D4 #E086E0

Accessibility & contrast

On white

4.93
#BB30BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BB30BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30BC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30BC#FFFFFF#000000##FFFFFF
##BB30BC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C65C0
Deuteranopia (green-blind)
#5677B9
Tritanopia (blue-blind)
#C14774
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb30bc;
/* rgb */ color: rgb(187, 48, 188);
/* oklch */ color: oklch(57.7% 0.229 327.7);
Tailwind
colors: {
  custom: {
    50: '#d377d1',
    500: '#bb30bc',
    950: '#000000',
  },
}
SCSS
$custom: #bb30bc;
$custom-light: #d377d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30bc",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 299.571,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57667,
    "c": 0.22912,
    "h": 327.7
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

primary
#BB30BC
secondary
#7FCA7E
accent
#E34546
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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