#BB2EB6#BB2EB6

#BB2EB6 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.2% C 0.227 H 329.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BB2EB6
RGBrgb(187, 46, 182)
HSLhsl(302, 61%, 46%)
HSVhsv(302, 75%, 73%)
CMYKcmyk(0%, 75.4%, 2.7%, 26.7%)
CIE-LABlab(46.84, 69.24, -41.44)
CIE-LCHlch(46.84, 80.69, 329.10°)
OKLaboklab(57.18% 0.1955 -0.1146)
OKLCHoklch(57.18% 0.227 329.6)
XYZxyz(29.9138, 15.8985, 45.7401)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EB6 #2EBB33
analogous
#7A2EBB #BB2EB6 #BB2E6F
triadic
#BB2EB6 #B6BB2E #2EB6BB
tetradic
#BB2EB6 #BB7A2E #2EBB33 #2E6FBB
square
#BB2EB6 #BB7A2E #2EBB33 #2E6FBB
split-complementary
#BB2EB6 #6FBB2E #2EBB7A
monochromatic
#591656 #8A2286 #BB2EB6 #D452D0 #E083DD

Accessibility & contrast

On white

5.02
#BB2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BB2EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EB6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EB6#FFFFFF#000000##FFFFFF
##BB2EB61.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1763BA
Deuteranopia (green-blind)
#5976B3
Tritanopia (blue-blind)
#C24370
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb2eb6;
/* rgb */ color: rgb(187, 46, 182);
/* oklch */ color: oklch(57.2% 0.227 329.6);
Tailwind
colors: {
  custom: {
    50: '#d376cc',
    500: '#bb2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #bb2eb6;
$custom-light: #d376cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2eb6",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 302.128,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.22661,
    "h": 329.6
  },
  "luminance": 0.15896
}

Semantic roles & 50–950 ramp

primary
#BB2EB6
secondary
#7BCA7E
accent
#E44A44
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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