#BB1EB4#BB1EB4

#BB1EB4 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.1% C 0.238 H 330.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BB1EB4
RGBrgb(187, 30, 180)
HSLhsl(303, 72%, 43%)
HSVhsv(303, 84%, 73%)
CMYKcmyk(0%, 84%, 3.7%, 26.7%)
CIE-LABlab(45.35, 72.94, -42.64)
CIE-LCHlch(45.35, 84.49, 329.69°)
OKLaboklab(56.08% 0.207 -0.1179)
OKLCHoklch(56.08% 0.238 330.3)
XYZxyz(29.1959, 14.7910, 44.4884)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1EB4 #1EBB25
analogous
#731EBB #BB1EB4 #BB1E66
triadic
#BB1EB4 #B4BB1E #1EB4BB
tetradic
#BB1EB4 #BB731E #1EBB25 #1E66BB
square
#BB1EB4 #BB731E #1EBB25 #1E66BB
split-complementary
#BB1EB4 #66BB1E #1EBB73
monochromatic
#520D4E #861681 #BB1EB4 #DF37D7 #E76CE2

Accessibility & contrast

On white

5.31
#BB1EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#BB1EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1EB4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1EB4#FFFFFF#000000##FFFFFF
##BB1EB41.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#C2396C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb1eb4;
/* rgb */ color: rgb(187, 30, 180);
/* oklch */ color: oklch(56.1% 0.238 330.3);
Tailwind
colors: {
  custom: {
    50: '#d471cb',
    500: '#bb1eb4',
    950: '#000000',
  },
}
SCSS
$custom: #bb1eb4;
$custom-light: #d471cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1eb4",
  "rgb": {
    "r": 187,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 302.675,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56075,
    "c": 0.23827,
    "h": 330.3
  },
  "luminance": 0.14789
}

Semantic roles & 50–950 ramp

primary
#BB1EB4
secondary
#67CD6C
accent
#EF4139
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB1EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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