#BB1EA6#BB1EA6

#BB1EA6 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.3% C 0.229 H 334.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BB1EA6
RGBrgb(187, 30, 166)
HSLhsl(308, 72%, 43%)
HSVhsv(308, 84%, 73%)
CMYKcmyk(0%, 84%, 11.2%, 26.7%)
CIE-LABlab(44.59, 70.91, -35.55)
CIE-LCHlch(44.59, 79.32, 333.38°)
OKLaboklab(55.29% 0.2071 -0.0974)
OKLCHoklch(55.29% 0.229 334.8)
XYZxyz(27.8411, 14.2491, 37.3531)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1EA6 #1EBB33
analogous
#811EBB #BB1EA6 #BB1E58
triadic
#BB1EA6 #A6BB1E #1EA6BB
tetradic
#BB1EA6 #BB811E #1EBB33 #1E58BB
square
#BB1EA6 #BB811E #1EBB33 #1E58BB
split-complementary
#BB1EA6 #58BB1E #1EBB81
monochromatic
#520D48 #861677 #BB1EA6 #DF37C9 #E76CD7

Accessibility & contrast

On white

5.46
#BB1EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BB1EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1EA6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1EA6#FFFFFF#000000##FFFFFF
##BB1EA61.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5BA9
Deuteranopia (green-blind)
#5C71A3
Tritanopia (blue-blind)
#C43064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb1ea6;
/* rgb */ color: rgb(187, 30, 166);
/* oklch */ color: oklch(55.3% 0.229 334.8);
Tailwind
colors: {
  custom: {
    50: '#d470c1',
    500: '#bb1ea6',
    950: '#000000',
  },
}
SCSS
$custom: #bb1ea6;
$custom-light: #d470c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1ea6",
  "rgb": {
    "r": 187,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 308.025,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55291,
    "c": 0.22884,
    "h": 334.8
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#BB1EA6
secondary
#67CD75
accent
#EF5139
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB1EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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