#BB2ED3#BB2ED3

#BB2ED3 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.9% C 0.249 H 321.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BB2ED3
RGBrgb(187, 46, 211)
HSLhsl(291, 65%, 50%)
HSVhsv(291, 78%, 83%)
CMYKcmyk(11.4%, 78.2%, 0%, 17.3%)
CIE-LABlab(48.54, 74.03, -55.55)
CIE-LCHlch(48.54, 92.55, 323.12°)
OKLaboklab(58.93% 0.1938 -0.1557)
OKLCHoklch(58.93% 0.249 321.2)
XYZxyz(33.2270, 17.2238, 63.1898)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2ED3 #46D32E
analogous
#692ED3 #BB2ED3 #D32E98
triadic
#BB2ED3 #D3BB2E #2ED3BB
tetradic
#BB2ED3 #D3692E #46D32E #2E98D3
square
#BB2ED3 #D3692E #46D32E #2E98D3
split-complementary
#BB2ED3 #98D32E #2ED369
monochromatic
#62176F #8F22A2 #BB2ED3 #CB61DE #DC93E8

Accessibility & contrast

On white

4.73
#BB2ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BB2ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2ED3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2ED3#FFFFFF#000000##FFFFFF
##BB2ED31.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#4478CF
Tritanopia (blue-blind)
#BC5181
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb2ed3;
/* rgb */ color: rgb(187, 46, 211);
/* oklch */ color: oklch(58.9% 0.249 321.2);
Tailwind
colors: {
  custom: {
    50: '#d478e1',
    500: '#bb2ed3',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ed3;
$custom-light: #d478e1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ed3",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 211
  },
  "hsl": {
    "h": 291.273,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58927,
    "c": 0.24862,
    "h": 321.2
  },
  "luminance": 0.17222
}

Semantic roles & 50–950 ramp

primary
#BB2ED3
secondary
#94D38A
accent
#E84058
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BB2ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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