#BB2EB1#BB2EB1

#BB2EB1 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.223 H 331.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BB2EB1
RGBrgb(187, 46, 177)
HSLhsl(304, 61%, 46%)
HSVhsv(304, 75%, 73%)
CMYKcmyk(0%, 75.4%, 5.3%, 26.7%)
CIE-LABlab(46.57, 68.46, -38.93)
CIE-LCHlch(46.57, 78.76, 330.38°)
OKLaboklab(56.9% 0.1955 -0.1073)
OKLCHoklch(56.9% 0.223 331.2)
XYZxyz(29.4063, 15.6955, 43.0672)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EB1 #2EBB38
analogous
#7E2EBB #BB2EB1 #BB2E6B
triadic
#BB2EB1 #B1BB2E #2EB1BB
tetradic
#BB2EB1 #BB7E2E #2EBB38 #2E6BBB
square
#BB2EB1 #BB7E2E #2EBB38 #2E6BBB
split-complementary
#BB2EB1 #6BBB2E #2EBB7E
monochromatic
#591654 #8A2283 #BB2EB1 #D452CB #E083DA

Accessibility & contrast

On white

5.07
#BB2EB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BB2EB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EB1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EB1#FFFFFF#000000##FFFFFF
##BB2EB11.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2062B5
Deuteranopia (green-blind)
#5C75AE
Tritanopia (blue-blind)
#C3406E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2eb1;
/* rgb */ color: rgb(187, 46, 177);
/* oklch */ color: oklch(56.9% 0.223 331.2);
Tailwind
colors: {
  custom: {
    50: '#d376c9',
    500: '#bb2eb1',
    950: '#000000',
  },
}
SCSS
$custom: #bb2eb1;
$custom-light: #d376c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2eb1",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 177
  },
  "hsl": {
    "h": 304.255,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56896,
    "c": 0.22296,
    "h": 331.2
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#BB2EB1
secondary
#7BCA81
accent
#E44F44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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