#BB1EB7#BB1EB7

#BB1EB7 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.3% C 0.240 H 329.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BB1EB7
RGBrgb(187, 30, 183)
HSLhsl(302, 72%, 43%)
HSVhsv(302, 84%, 73%)
CMYKcmyk(0%, 84%, 2.1%, 26.7%)
CIE-LABlab(45.52, 73.39, -44.13)
CIE-LCHlch(45.52, 85.64, 328.98°)
OKLaboklab(56.25% 0.2069 -0.1223)
OKLCHoklch(56.25% 0.24 329.4)
XYZxyz(29.5048, 14.9146, 46.1154)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1EB7 #1EBB22
analogous
#711EBB #BB1EB7 #BB1E68
triadic
#BB1EB7 #B7BB1E #1EB7BB
tetradic
#BB1EB7 #BB711E #1EBB22 #1E68BB
square
#BB1EB7 #BB711E #1EBB22 #1E68BB
split-complementary
#BB1EB7 #68BB1E #1EBB71
monochromatic
#520D50 #861683 #BB1EB7 #DF37DB #E76CE4

Accessibility & contrast

On white

5.27
#BB1EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BB1EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1EB7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1EB7#FFFFFF#000000##FFFFFF
##BB1EB71.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#5373B3
Tritanopia (blue-blind)
#C23A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb1eb7;
/* rgb */ color: rgb(187, 30, 183);
/* oklch */ color: oklch(56.3% 0.240 329.4);
Tailwind
colors: {
  custom: {
    50: '#d471cd',
    500: '#bb1eb7',
    950: '#000000',
  },
}
SCSS
$custom: #bb1eb7;
$custom-light: #d471cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1eb7",
  "rgb": {
    "r": 187,
    "g": 30,
    "b": 183
  },
  "hsl": {
    "h": 301.529,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.24035,
    "h": 329.4
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

primary
#BB1EB7
secondary
#67CD6A
accent
#EF3D39
background
#FDF7FC
surface
#FBEDF9
border
#D4C8D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BB1EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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