#BB2EC9#BB2EC9

#BB2EC9 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.3% C 0.241 H 324.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BB2EC9
RGBrgb(187, 46, 201)
HSLhsl(295, 63%, 48%)
HSVhsv(295, 77%, 79%)
CMYKcmyk(7%, 77.1%, 0%, 21.2%)
CIE-LABlab(47.93, 72.33, -50.77)
CIE-LCHlch(47.93, 88.37, 324.93°)
OKLaboklab(58.3% 0.1948 -0.1417)
OKLCHoklch(58.3% 0.241 324)
XYZxyz(32.0122, 16.7379, 56.7916)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EC9 #3CC92E
analogous
#6E2EC9 #BB2EC9 #C92E89
triadic
#BB2EC9 #C9BB2E #2EC9BB
tetradic
#BB2EC9 #C96E2E #3CC92E #2E89C9
square
#BB2EC9 #C96E2E #3CC92E #2E89C9
split-complementary
#BB2EC9 #89C92E #2EC96E
monochromatic
#5E1765 #8D2397 #BB2EC9 #CE5BD9 #DD8DE5

Accessibility & contrast

On white

4.83
#BB2EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BB2EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EC9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EC9#FFFFFF#000000##FFFFFF
##BB2EC91.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CD
Deuteranopia (green-blind)
#4C77C5
Tritanopia (blue-blind)
#BE4C7B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb2ec9;
/* rgb */ color: rgb(187, 46, 201);
/* oklch */ color: oklch(58.3% 0.241 324.0);
Tailwind
colors: {
  custom: {
    50: '#d477da',
    500: '#bb2ec9',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ec9;
$custom-light: #d477da;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ec9",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 294.581,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58298,
    "c": 0.24089,
    "h": 324
  },
  "luminance": 0.16736
}

Semantic roles & 50–950 ramp

primary
#BB2EC9
secondary
#8BCF84
accent
#E64251
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BB2EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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