#BB2FBB#BB2FBB

#BB2FBB is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.229 H 328.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BB2FBB
RGBrgb(187, 47, 187)
HSLhsl(300, 60%, 46%)
HSVhsv(300, 75%, 73%)
CMYKcmyk(0%, 74.9%, 0%, 26.7%)
CIE-LABlab(47.22, 69.74, -43.77)
CIE-LCHlch(47.22, 82.33, 327.89°)
OKLaboklab(57.53% 0.1946 -0.1213)
OKLCHoklch(57.53% 0.229 328.1)
XYZxyz(30.4793, 16.1879, 48.5233)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FBB #2FBB2F
analogous
#752FBB #BB2FBB #BB2F75
triadic
#BB2FBB #BBBB2F #2FBBBB
tetradic
#BB2FBB #BB752F #2FBB2F #2F75BB
square
#BB2FBB #BB752F #2FBB2F #2F75BB
split-complementary
#BB2FBB #75BB2F #2FBB75
monochromatic
#591659 #8A238A #BB2FBB #D453D4 #E084E0

Accessibility & contrast

On white

4.96
#BB2FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BB2FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2FBB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FBB#FFFFFF#000000##FFFFFF
##BB2FBB1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C64BF
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#C14673
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb2fbb;
/* rgb */ color: rgb(187, 47, 187);
/* oklch */ color: oklch(57.5% 0.229 328.1);
Tailwind
colors: {
  custom: {
    50: '#d377d0',
    500: '#bb2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fbb;
$custom-light: #d377d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fbb",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57534,
    "c": 0.22934,
    "h": 328.1
  },
  "luminance": 0.16186
}

Semantic roles & 50–950 ramp

primary
#BB2FBB
secondary
#7CC97C
accent
#E34545
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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