#BB2BE2#BB2BE2

#BB2BE2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.7% C 0.263 H 317.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BB2BE2
RGBrgb(187, 43, 226)
HSLhsl(287, 76%, 53%)
HSVhsv(287, 81%, 89%)
CMYKcmyk(17.3%, 81%, 0%, 11.4%)
CIE-LABlab(49.23, 77.48, -62.99)
CIE-LCHlch(49.23, 99.86, 320.89°)
OKLaboklab(59.72% 0.1938 -0.1775)
OKLCHoklch(59.72% 0.263 317.5)
XYZxyz(35.0829, 17.7851, 73.5217)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2BE2 #52E22B
analogous
#5F2BE2 #BB2BE2 #E22BAE
triadic
#BB2BE2 #E2BB2B #2BE2BB
tetradic
#BB2BE2 #E25F2B #52E22B #2BAEE2
square
#BB2BE2 #E25F2B #52E22B #2BAEE2
split-complementary
#BB2BE2 #AEE22B #2BE25F
monochromatic
#691281 #9519B7 #BB2BE2 #CC61E9 #DE97F1

Accessibility & contrast

On white

4.61
#BB2BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BB2BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2BE2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2BE2#FFFFFF#000000##FFFFFF
##BB2BE21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#3079DE
Tritanopia (blue-blind)
#B95789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb2be2;
/* rgb */ color: rgb(187, 43, 226);
/* oklch */ color: oklch(59.7% 0.263 317.5);
Tailwind
colors: {
  custom: {
    50: '#d577ec',
    500: '#bb2be2',
    950: '#000000',
  },
}
SCSS
$custom: #bb2be2;
$custom-light: #d577ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2be2",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 226
  },
  "hsl": {
    "h": 287.213,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59724,
    "c": 0.26279,
    "h": 317.5
  },
  "luminance": 0.17784
}

Semantic roles & 50–950 ramp

primary
#BB2BE2
secondary
#9EDC8D
accent
#F3355E
background
#FDF7FE
surface
#FBEEFD
border
#D4C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #BB2BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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