#BB2EE8#BB2EE8

#BB2EE8 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 60.3% C 0.265 H 316.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BB2EE8
RGBrgb(187, 46, 232)
HSLhsl(285, 80%, 55%)
HSVhsv(285, 80%, 91%)
CMYKcmyk(19.4%, 80.2%, 0%, 9%)
CIE-LABlab(49.91, 77.77, -65.29)
CIE-LCHlch(49.91, 101.54, 319.99°)
OKLaboklab(60.33% 0.1907 -0.1843)
OKLCHoklch(60.33% 0.265 316)
XYZxyz(36.0337, 18.3465, 77.9714)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EE8 #5BE82E
analogous
#5E2EE8 #BB2EE8 #E82EB8
triadic
#BB2EE8 #E8BB2E #2EE8BB
tetradic
#BB2EE8 #E85E2E #5BE82E #2EB8E8
square
#BB2EE8 #E85E2E #5BE82E #2EB8E8
split-complementary
#BB2EE8 #B8E82E #2EE85E
monochromatic
#6E0F8C #9915C3 #BB2EE8 #CD65EE #DF9CF4

Accessibility & contrast

On white

4.50
#BB2EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#BB2EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB2EE8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EE8#FFFFFF#000000##000000
##BB2EE81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#297AE4
Tritanopia (blue-blind)
#B85B8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb2ee8;
/* rgb */ color: rgb(187, 46, 232);
/* oklch */ color: oklch(60.3% 0.265 316.0);
Tailwind
colors: {
  custom: {
    50: '#d579f0',
    500: '#bb2ee8',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ee8;
$custom-light: #d579f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ee8",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 232
  },
  "hsl": {
    "h": 285.484,
    "s": 80.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.26517,
    "h": 316
  },
  "luminance": 0.18345
}

Semantic roles & 50–950 ramp

primary
#BB2EE8
secondary
#A5E092
accent
#F73161
background
#FDF7FE
surface
#FBEEFD
border
#D4C9D5
text
#150A17
muted
#837C85

Preview Lab

Preview with #BB2EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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