#BB2EB5#BB2EB5

#BB2EB5 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.226 H 329.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BB2EB5
RGBrgb(187, 46, 181)
HSLhsl(303, 61%, 46%)
HSVhsv(303, 75%, 73%)
CMYKcmyk(0%, 75.4%, 3.2%, 26.7%)
CIE-LABlab(46.79, 69.08, -40.94)
CIE-LCHlch(46.79, 80.30, 329.35°)
OKLaboklab(57.12% 0.1955 -0.1131)
OKLCHoklch(57.12% 0.226 329.9)
XYZxyz(29.8109, 15.8573, 45.1978)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EB5 #2EBB34
analogous
#7A2EBB #BB2EB5 #BB2E6E
triadic
#BB2EB5 #B5BB2E #2EB5BB
tetradic
#BB2EB5 #BB7A2E #2EBB34 #2E6EBB
square
#BB2EB5 #BB7A2E #2EBB34 #2E6EBB
split-complementary
#BB2EB5 #6EBB2E #2EBB7A
monochromatic
#591656 #8A2285 #BB2EB5 #D452CF #E083DC

Accessibility & contrast

On white

5.03
#BB2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BB2EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EB5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EB5#FFFFFF#000000##FFFFFF
##BB2EB51.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1963B9
Deuteranopia (green-blind)
#5975B2
Tritanopia (blue-blind)
#C24270
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb2eb5;
/* rgb */ color: rgb(187, 46, 181);
/* oklch */ color: oklch(57.1% 0.226 329.9);
Tailwind
colors: {
  custom: {
    50: '#d376cc',
    500: '#bb2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #bb2eb5;
$custom-light: #d376cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2eb5",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 302.553,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57118,
    "c": 0.22587,
    "h": 329.9
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#BB2EB5
secondary
#7BCA7F
accent
#E44B44
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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