#BB2FB8#BB2FB8

#BB2FB8 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.227 H 329.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BB2FB8
RGBrgb(187, 47, 184)
HSLhsl(301, 60%, 46%)
HSVhsv(301, 75%, 73%)
CMYKcmyk(0%, 74.9%, 1.6%, 26.7%)
CIE-LABlab(47.05, 69.26, -42.27)
CIE-LCHlch(47.05, 81.14, 328.60°)
OKLaboklab(57.36% 0.1947 -0.117)
OKLCHoklch(57.36% 0.227 329)
XYZxyz(30.1615, 16.0608, 46.8496)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FB8 #2FBB32
analogous
#782FBB #BB2FB8 #BB2F72
triadic
#BB2FB8 #B8BB2F #2FB8BB
tetradic
#BB2FB8 #BB782F #2FBB32 #2F72BB
square
#BB2FB8 #BB782F #2FBB32 #2F72BB
split-complementary
#BB2FB8 #72BB2F #2FBB78
monochromatic
#591658 #8A2388 #BB2FB8 #D453D1 #E084DE

Accessibility & contrast

On white

4.99
#BB2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BB2FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2FB8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FB8#FFFFFF#000000##FFFFFF
##BB2FB81.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1564BC
Deuteranopia (green-blind)
#5876B5
Tritanopia (blue-blind)
#C14472
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb2fb8;
/* rgb */ color: rgb(187, 47, 184);
/* oklch */ color: oklch(57.4% 0.227 329.0);
Tailwind
colors: {
  custom: {
    50: '#d377ce',
    500: '#bb2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fb8;
$custom-light: #d377ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fb8",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 301.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57362,
    "c": 0.22711,
    "h": 329
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#BB2FB8
secondary
#7CC97E
accent
#E34845
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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