#BB30A5#BB30A5

#BB30A5 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.212 H 335.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BB30A5
RGBrgb(187, 48, 165)
HSLhsl(309, 59%, 46%)
HSVhsv(309, 74%, 73%)
CMYKcmyk(0%, 74.3%, 11.8%, 26.7%)
CIE-LABlab(46.17, 66.05, -32.46)
CIE-LCHlch(46.17, 73.59, 333.83°)
OKLaboklab(56.41% 0.193 -0.0887)
OKLCHoklch(56.41% 0.212 335.3)
XYZxyz(28.3424, 15.3979, 37.0694)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30A5 #30BB46
analogous
#8B30BB #BB30A5 #BB3060
triadic
#BB30A5 #A5BB30 #30A5BB
tetradic
#BB30A5 #BB8B30 #30BB46 #3060BB
square
#BB30A5 #BB8B30 #30BB46 #3060BB
split-complementary
#BB30A5 #60BB30 #30BB8B
monochromatic
#5A174F #8A237A #BB30A5 #D355BF #E086D2

Accessibility & contrast

On white

5.15
#BB30A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BB30A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30A5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30A5#FFFFFF#000000##FFFFFF
##BB30A51.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A8
Deuteranopia (green-blind)
#6275A2
Tritanopia (blue-blind)
#C43B68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb30a5;
/* rgb */ color: rgb(187, 48, 165);
/* oklch */ color: oklch(56.4% 0.212 335.3);
Tailwind
colors: {
  custom: {
    50: '#d377c0',
    500: '#bb30a5',
    950: '#000000',
  },
}
SCSS
$custom: #bb30a5;
$custom-light: #d377c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30a5",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 309.496,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56412,
    "c": 0.21242,
    "h": 335.3
  },
  "luminance": 0.15395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB30A5

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

Preview Lab → · Contrast checker → · Palette generator →

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