#BB30A6#BB30A6

#BB30A6 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.213 H 335.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BB30A6
RGBrgb(187, 48, 166)
HSLhsl(309, 59%, 46%)
HSVhsv(309, 74%, 73%)
CMYKcmyk(0%, 74.3%, 11.2%, 26.7%)
CIE-LABlab(46.22, 66.20, -32.97)
CIE-LCHlch(46.22, 73.95, 333.52°)
OKLaboklab(56.46% 0.1931 -0.0901)
OKLCHoklch(56.46% 0.213 335)
XYZxyz(28.4338, 15.4344, 37.5506)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30A6 #30BB45
analogous
#8A30BB #BB30A6 #BB3060
triadic
#BB30A6 #A6BB30 #30A6BB
tetradic
#BB30A6 #BB8A30 #30BB45 #3060BB
square
#BB30A6 #BB8A30 #30BB45 #3060BB
split-complementary
#BB30A6 #60BB30 #30BB8A
monochromatic
#5A1750 #8A237B #BB30A6 #D355C0 #E086D2

Accessibility & contrast

On white

5.14
#BB30A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB30A6
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30A6#FFFFFF#000000##FFFFFF
##BB30A61.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A9
Deuteranopia (green-blind)
#6275A3
Tritanopia (blue-blind)
#C43C68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb30a6;
/* rgb */ color: rgb(187, 48, 166);
/* oklch */ color: oklch(56.5% 0.213 335.0);
Tailwind
colors: {
  custom: {
    50: '#d377c1',
    500: '#bb30a6',
    950: '#000000',
  },
}
SCSS
$custom: #bb30a6;
$custom-light: #d377c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30a6",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 309.065,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.21312,
    "h": 335
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#BB30A6
secondary
#7DC989
accent
#E25D45
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB30A6

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

Preview Lab → · Contrast checker → · Palette generator →

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