#BB1EA8#BB1EA8

#BB1EA8 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.4% C 0.230 H 334.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BB1EA8
RGBrgb(187, 30, 168)
HSLhsl(307, 72%, 43%)
HSVhsv(307, 84%, 73%)
CMYKcmyk(0%, 84%, 10.2%, 26.7%)
CIE-LABlab(44.69, 71.19, -36.57)
CIE-LCHlch(44.69, 80.03, 332.81°)
OKLaboklab(55.4% 0.2071 -0.1004)
OKLCHoklch(55.4% 0.23 334.1)
XYZxyz(28.0260, 14.3231, 38.3268)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1EA8 #1EBB31
analogous
#7F1EBB #BB1EA8 #BB1E5A
triadic
#BB1EA8 #A8BB1E #1EA8BB
tetradic
#BB1EA8 #BB7F1E #1EBB31 #1E5ABB
square
#BB1EA8 #BB7F1E #1EBB31 #1E5ABB
split-complementary
#BB1EA8 #5ABB1E #1EBB7F
monochromatic
#520D49 #861679 #BB1EA8 #DF37CB #E76CD8

Accessibility & contrast

On white

5.43
#BB1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BB1EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1EA8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1EA8#FFFFFF#000000##FFFFFF
##BB1EA81.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185CAB
Deuteranopia (green-blind)
#5B71A5
Tritanopia (blue-blind)
#C43165
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb1ea8;
/* rgb */ color: rgb(187, 30, 168);
/* oklch */ color: oklch(55.4% 0.230 334.1);
Tailwind
colors: {
  custom: {
    50: '#d470c2',
    500: '#bb1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #bb1ea8;
$custom-light: #d470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1ea8",
  "rgb": {
    "r": 187,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 307.261,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.554,
    "c": 0.23016,
    "h": 334.1
  },
  "luminance": 0.1432
}

Semantic roles & 50–950 ramp

primary
#BB1EA8
secondary
#67CD74
accent
#EF4F39
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BB1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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