#BB2EB3#BB2EB3

#BB2EB3 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.224 H 330.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BB2EB3
RGBrgb(187, 46, 179)
HSLhsl(303, 61%, 46%)
HSVhsv(303, 75%, 73%)
CMYKcmyk(0%, 75.4%, 4.3%, 26.7%)
CIE-LABlab(46.68, 68.77, -39.94)
CIE-LCHlch(46.68, 79.53, 329.86°)
OKLaboklab(57.01% 0.1955 -0.1102)
OKLCHoklch(57.01% 0.224 330.6)
XYZxyz(29.6071, 15.7758, 44.1248)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EB3 #2EBB36
analogous
#7C2EBB #BB2EB3 #BB2E6C
triadic
#BB2EB3 #B3BB2E #2EB3BB
tetradic
#BB2EB3 #BB7C2E #2EBB36 #2E6CBB
square
#BB2EB3 #BB7C2E #2EBB36 #2E6CBB
split-complementary
#BB2EB3 #6CBB2E #2EBB7C
monochromatic
#591655 #8A2284 #BB2EB3 #D452CD #E083DB

Accessibility & contrast

On white

5.05
#BB2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BB2EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EB3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EB3#FFFFFF#000000##FFFFFF
##BB2EB31.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B7
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#C2416F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb2eb3;
/* rgb */ color: rgb(187, 46, 179);
/* oklch */ color: oklch(57.0% 0.224 330.6);
Tailwind
colors: {
  custom: {
    50: '#d376ca',
    500: '#bb2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #bb2eb3;
$custom-light: #d376ca;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2eb3",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 303.404,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57006,
    "c": 0.22442,
    "h": 330.6
  },
  "luminance": 0.15773
}

Semantic roles & 50–950 ramp

primary
#BB2EB3
secondary
#7BCA80
accent
#E44D44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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