#BB30A7#BB30A7

#BB30A7 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.214 H 334.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BB30A7
RGBrgb(187, 48, 167)
HSLhsl(309, 59%, 46%)
HSVhsv(309, 74%, 73%)
CMYKcmyk(0%, 74.3%, 10.7%, 26.7%)
CIE-LABlab(46.27, 66.34, -33.49)
CIE-LCHlch(46.27, 74.32, 333.22°)
OKLaboklab(56.52% 0.1932 -0.0916)
OKLCHoklch(56.52% 0.214 334.6)
XYZxyz(28.5258, 15.4712, 38.0356)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30A7 #30BB44
analogous
#8930BB #BB30A7 #BB3061
triadic
#BB30A7 #A7BB30 #30A7BB
tetradic
#BB30A7 #BB8930 #30BB44 #3061BB
square
#BB30A7 #BB8930 #30BB44 #3061BB
split-complementary
#BB30A7 #61BB30 #30BB89
monochromatic
#5A1750 #8A237C #BB30A7 #D355C1 #E086D3

Accessibility & contrast

On white

5.13
#BB30A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BB30A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30A7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30A7#FFFFFF#000000##FFFFFF
##BB30A71.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E61AA
Deuteranopia (green-blind)
#6175A4
Tritanopia (blue-blind)
#C43C69
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb30a7;
/* rgb */ color: rgb(187, 48, 167);
/* oklch */ color: oklch(56.5% 0.214 334.6);
Tailwind
colors: {
  custom: {
    50: '#d377c1',
    500: '#bb30a7',
    950: '#000000',
  },
}
SCSS
$custom: #bb30a7;
$custom-light: #d377c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30a7",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 308.633,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56515,
    "c": 0.21382,
    "h": 334.6
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#BB30A7
secondary
#7DC988
accent
#E25C45
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB30A7

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

Preview Lab → · Contrast checker → · Palette generator →

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