#BB2EB9#BB2EB9

#BB2EB9 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.229 H 328.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BB2EB9
RGBrgb(187, 46, 185)
HSLhsl(301, 61%, 46%)
HSVhsv(301, 75%, 73%)
CMYKcmyk(0%, 75.4%, 1.1%, 26.7%)
CIE-LABlab(47.01, 69.71, -42.94)
CIE-LCHlch(47.01, 81.88, 328.37°)
OKLaboklab(57.35% 0.1955 -0.1189)
OKLCHoklch(57.35% 0.229 328.7)
XYZxyz(30.2272, 16.0238, 47.3904)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EB9 #2EBB30
analogous
#762EBB #BB2EB9 #BB2E72
triadic
#BB2EB9 #B9BB2E #2EB9BB
tetradic
#BB2EB9 #BB762E #2EBB30 #2E72BB
square
#BB2EB9 #BB762E #2EBB30 #2E72BB
split-complementary
#BB2EB9 #72BB2E #2EBB76
monochromatic
#591658 #8A2288 #BB2EB9 #D452D3 #E083DF

Accessibility & contrast

On white

4.99
#BB2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BB2EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EB9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EB9#FFFFFF#000000##FFFFFF
##BB2EB91.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1064BD
Deuteranopia (green-blind)
#5776B6
Tritanopia (blue-blind)
#C14472
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb2eb9;
/* rgb */ color: rgb(187, 46, 185);
/* oklch */ color: oklch(57.3% 0.229 328.7);
Tailwind
colors: {
  custom: {
    50: '#d377ce',
    500: '#bb2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #bb2eb9;
$custom-light: #d377ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2eb9",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 300.851,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57345,
    "c": 0.22881,
    "h": 328.7
  },
  "luminance": 0.16022
}

Semantic roles & 50–950 ramp

primary
#BB2EB9
secondary
#7BCA7C
accent
#E44644
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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