#BB2DE2#BB2DE2

#BB2DE2 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.9% C 0.261 H 317.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BB2DE2
RGBrgb(187, 45, 226)
HSLhsl(287, 76%, 53%)
HSVhsv(287, 80%, 89%)
CMYKcmyk(17.3%, 80.1%, 0%, 11.4%)
CIE-LABlab(49.42, 76.95, -62.69)
CIE-LCHlch(49.42, 99.26, 320.83°)
OKLaboklab(59.85% 0.1924 -0.1767)
OKLCHoklch(59.85% 0.261 317.4)
XYZxyz(35.1574, 17.9342, 73.5465)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2DE2 #54E22D
analogous
#602DE2 #BB2DE2 #E22DAE
triadic
#BB2DE2 #E2BB2D #2DE2BB
tetradic
#BB2DE2 #E2602D #54E22D #2DAEE2
square
#BB2DE2 #E2602D #54E22D #2DAEE2
split-complementary
#BB2DE2 #AEE22D #2DE260
monochromatic
#6A1283 #9619B8 #BB2DE2 #CC63E9 #DE99F1

Accessibility & contrast

On white

4.58
#BB2DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#BB2DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB2DE2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2DE2#FFFFFF#000000##000000
##BB2DE21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#3279DE
Tritanopia (blue-blind)
#B95889
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb2de2;
/* rgb */ color: rgb(187, 45, 226);
/* oklch */ color: oklch(59.9% 0.261 317.4);
Tailwind
colors: {
  custom: {
    50: '#d478ec',
    500: '#bb2de2',
    950: '#000000',
  },
}
SCSS
$custom: #bb2de2;
$custom-light: #d478ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2de2",
  "rgb": {
    "r": 187,
    "g": 45,
    "b": 226
  },
  "hsl": {
    "h": 287.072,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59852,
    "c": 0.26122,
    "h": 317.4
  },
  "luminance": 0.17933
}

Semantic roles & 50–950 ramp

primary
#BB2DE2
secondary
#9FDC8E
accent
#F2355E
background
#FDF7FE
surface
#FBEEFD
border
#D4C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #BB2DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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