#BB2BEF#BB2BEF

#BB2BEF is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.6% C 0.273 H 314.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BB2BEF
RGBrgb(187, 43, 239)
HSLhsl(284, 86%, 55%)
HSVhsv(284, 82%, 94%)
CMYKcmyk(21.8%, 82%, 0%, 6.3%)
CIE-LABlab(50.13, 79.83, -68.89)
CIE-LCHlch(50.13, 105.45, 319.21°)
OKLaboklab(60.63% 0.1912 -0.1948)
OKLCHoklch(60.63% 0.273 314.5)
XYZxyz(36.9347, 18.5259, 83.2749)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2BEF #5FEF2B
analogous
#592BEF #BB2BEF #EF2BC1
triadic
#BB2BEF #EFBB2B #2BEFBB
tetradic
#BB2BEF #EF592B #5FEF2B #2BC1EF
square
#BB2BEF #EF592B #5FEF2B #2BC1EF
split-complementary
#BB2BEF #C1EF2B #2BEF59
monochromatic
#700B94 #9B0FCD #BB2BEF #CD64F3 #E09DF8

Accessibility & contrast

On white

4.46
#BB2BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BB2BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB2BEF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2BEF#FFFFFF#000000##000000
##BB2BEF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070F4
Deuteranopia (green-blind)
#137BEB
Tritanopia (blue-blind)
#B65E91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb2bef;
/* rgb */ color: rgb(187, 43, 239);
/* oklch */ color: oklch(60.6% 0.273 314.5);
Tailwind
colors: {
  custom: {
    50: '#d578f5',
    500: '#bb2bef',
    950: '#000000',
  },
}
SCSS
$custom: #bb2bef;
$custom-light: #d578f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2bef",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 239
  },
  "hsl": {
    "h": 284.082,
    "s": 85.965,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6063,
    "c": 0.27301,
    "h": 314.5
  },
  "luminance": 0.18525
}

Semantic roles & 50–950 ramp

primary
#BB2BEF
secondary
#A8E492
accent
#FC2C63
background
#FDF7FF
surface
#FBEEFF
border
#D4C9D7
text
#150A17
muted
#837C85

Preview Lab

Preview with #BB2BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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