#BB30A8#BB30A8

#BB30A8 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.215 H 334.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BB30A8
RGBrgb(187, 48, 168)
HSLhsl(308, 59%, 46%)
HSVhsv(308, 74%, 73%)
CMYKcmyk(0%, 74.3%, 10.2%, 26.7%)
CIE-LABlab(46.32, 66.49, -34.00)
CIE-LCHlch(46.32, 74.68, 332.92°)
OKLaboklab(56.57% 0.1933 -0.0931)
OKLCHoklch(56.57% 0.215 334.3)
XYZxyz(28.6186, 15.5084, 38.5244)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30A8 #30BB43
analogous
#8830BB #BB30A8 #BB3063
triadic
#BB30A8 #A8BB30 #30A8BB
tetradic
#BB30A8 #BB8830 #30BB43 #3063BB
square
#BB30A8 #BB8830 #30BB43 #3063BB
split-complementary
#BB30A8 #63BB30 #30BB88
monochromatic
#5A1750 #8A237C #BB30A8 #D355C2 #E086D3

Accessibility & contrast

On white

5.12
#BB30A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BB30A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30A8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30A8#FFFFFF#000000##FFFFFF
##BB30A81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D61AB
Deuteranopia (green-blind)
#6175A5
Tritanopia (blue-blind)
#C43D69
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb30a8;
/* rgb */ color: rgb(187, 48, 168);
/* oklch */ color: oklch(56.6% 0.215 334.3);
Tailwind
colors: {
  custom: {
    50: '#d377c2',
    500: '#bb30a8',
    950: '#000000',
  },
}
SCSS
$custom: #bb30a8;
$custom-light: #d377c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30a8",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 308.201,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56567,
    "c": 0.21452,
    "h": 334.3
  },
  "luminance": 0.15506
}

Semantic roles & 50–950 ramp

primary
#BB30A8
secondary
#7DC988
accent
#E25B45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB30A8

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

Preview Lab → · Contrast checker → · Palette generator →

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