#BB30A4#BB30A4

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

Color values

HEX#BB30A4
RGBrgb(187, 48, 164)
HSLhsl(310, 59%, 46%)
HSVhsv(310, 74%, 73%)
CMYKcmyk(0%, 74.3%, 12.3%, 26.7%)
CIE-LABlab(46.13, 65.90, -31.94)
CIE-LCHlch(46.13, 73.23, 334.15°)
OKLaboklab(56.36% 0.193 -0.0872)
OKLCHoklch(56.36% 0.212 335.7)
XYZxyz(28.2517, 15.3616, 36.5919)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30A4 #30BB47
analogous
#8C30BB #BB30A4 #BB305E
triadic
#BB30A4 #A4BB30 #30A4BB
tetradic
#BB30A4 #BB8C30 #30BB47 #305EBB
square
#BB30A4 #BB8C30 #30BB47 #305EBB
split-complementary
#BB30A4 #5EBB30 #30BB8C
monochromatic
#5A174F #8A2379 #BB30A4 #D355BE #E086D1

Accessibility & contrast

On white

5.16
#BB30A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BB30A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30A4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30A4#FFFFFF#000000##FFFFFF
##BB30A41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#6275A1
Tritanopia (blue-blind)
#C53B67
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb30a4;
/* rgb */ color: rgb(187, 48, 164);
/* oklch */ color: oklch(56.4% 0.212 335.7);
Tailwind
colors: {
  custom: {
    50: '#d376bf',
    500: '#bb30a4',
    950: '#000000',
  },
}
SCSS
$custom: #bb30a4;
$custom-light: #d376bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30a4",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 309.928,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56361,
    "c": 0.21174,
    "h": 335.7
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#BB30A4
secondary
#7DC98A
accent
#E25F45
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB30A4

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

Preview Lab → · Contrast checker → · Palette generator →

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