#BB2FB1#BB2FB1

#BB2FB1 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.222 H 331.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BB2FB1
RGBrgb(187, 47, 177)
HSLhsl(304, 60%, 46%)
HSVhsv(304, 75%, 73%)
CMYKcmyk(0%, 74.9%, 5.3%, 26.7%)
CIE-LABlab(46.68, 68.16, -38.76)
CIE-LCHlch(46.68, 78.41, 330.37°)
OKLaboklab(56.97% 0.1946 -0.1068)
OKLCHoklch(56.97% 0.222 331.2)
XYZxyz(29.4458, 15.7745, 43.0804)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FB1 #2FBB39
analogous
#7F2FBB #BB2FB1 #BB2F6B
triadic
#BB2FB1 #B1BB2F #2FB1BB
tetradic
#BB2FB1 #BB7F2F #2FBB39 #2F6BBB
square
#BB2FB1 #BB7F2F #2FBB39 #2F6BBB
split-complementary
#BB2FB1 #6BBB2F #2FBB7F
monochromatic
#591654 #8A2383 #BB2FB1 #D453CB #E084DA

Accessibility & contrast

On white

5.05
#BB2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BB2FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2FB1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FB1#FFFFFF#000000##FFFFFF
##BB2FB11.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2162B4
Deuteranopia (green-blind)
#5C75AE
Tritanopia (blue-blind)
#C3416E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb2fb1;
/* rgb */ color: rgb(187, 47, 177);
/* oklch */ color: oklch(57.0% 0.222 331.2);
Tailwind
colors: {
  custom: {
    50: '#d377c9',
    500: '#bb2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fb1;
$custom-light: #d377c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fb1",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 304.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56971,
    "c": 0.22197,
    "h": 331.2
  },
  "luminance": 0.15772
}

Semantic roles & 50–950 ramp

primary
#BB2FB1
secondary
#7CC982
accent
#E35045
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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