#BB30B2#BB30B2

#BB30B2 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.222 H 330.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BB30B2
RGBrgb(187, 48, 178)
HSLhsl(304, 59%, 46%)
HSVhsv(304, 74%, 73%)
CMYKcmyk(0%, 74.3%, 4.8%, 26.7%)
CIE-LABlab(46.84, 68.01, -39.10)
CIE-LCHlch(46.84, 78.45, 330.11°)
OKLaboklab(57.1% 0.1937 -0.1078)
OKLCHoklch(57.1% 0.222 330.9)
XYZxyz(29.5863, 15.8954, 43.6207)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30B2 #30BB39
analogous
#7E30BB #BB30B2 #BB306C
triadic
#BB30B2 #B2BB30 #30B2BB
tetradic
#BB30B2 #BB7E30 #30BB39 #306CBB
square
#BB30B2 #BB7E30 #30BB39 #306CBB
split-complementary
#BB30B2 #6CBB30 #30BB7E
monochromatic
#5A1755 #8A2384 #BB30B2 #D355CB #E086DA

Accessibility & contrast

On white

5.03
#BB30B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BB30B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30B2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30B2#FFFFFF#000000##FFFFFF
##BB30B21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B6
Deuteranopia (green-blind)
#5C76AF
Tritanopia (blue-blind)
#C2426F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb30b2;
/* rgb */ color: rgb(187, 48, 178);
/* oklch */ color: oklch(57.1% 0.222 330.9);
Tailwind
colors: {
  custom: {
    50: '#d377c9',
    500: '#bb30b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb30b2;
$custom-light: #d377c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30b2",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 303.885,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57102,
    "c": 0.22169,
    "h": 330.9
  },
  "luminance": 0.15893
}

Semantic roles & 50–950 ramp

primary
#BB30B2
secondary
#7DC982
accent
#E25045
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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