#BB30B4#BB30B4

#BB30B4 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.223 H 330.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BB30B4
RGBrgb(187, 48, 180)
HSLhsl(303, 59%, 46%)
HSVhsv(303, 74%, 73%)
CMYKcmyk(0%, 74.3%, 3.7%, 26.7%)
CIE-LABlab(46.94, 68.32, -40.10)
CIE-LCHlch(46.94, 79.22, 329.59°)
OKLaboklab(57.21% 0.1938 -0.1107)
OKLCHoklch(57.21% 0.223 330.3)
XYZxyz(29.7886, 15.9763, 44.6860)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30B4 #30BB37
analogous
#7C30BB #BB30B4 #BB306E
triadic
#BB30B4 #B4BB30 #30B4BB
tetradic
#BB30B4 #BB7C30 #30BB37 #306EBB
square
#BB30B4 #BB7C30 #30BB37 #306EBB
split-complementary
#BB30B4 #6EBB30 #30BB7C
monochromatic
#5A1756 #8A2385 #BB30B4 #D355CD #E086DB

Accessibility & contrast

On white

5.01
#BB30B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BB30B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30B4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30B4#FFFFFF#000000##FFFFFF
##BB30B41.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E63B8
Deuteranopia (green-blind)
#5B76B1
Tritanopia (blue-blind)
#C24370
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb30b4;
/* rgb */ color: rgb(187, 48, 180);
/* oklch */ color: oklch(57.2% 0.223 330.3);
Tailwind
colors: {
  custom: {
    50: '#d377cb',
    500: '#bb30b4',
    950: '#000000',
  },
}
SCSS
$custom: #bb30b4;
$custom-light: #d377cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30b4",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 303.022,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57213,
    "c": 0.22316,
    "h": 330.3
  },
  "luminance": 0.15974
}

Semantic roles & 50–950 ramp

primary
#BB30B4
secondary
#7DC981
accent
#E24D45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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