#BB2FA8#BB2FA8

#BB2FA8 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.216 H 334.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BB2FA8
RGBrgb(187, 47, 168)
HSLhsl(308, 60%, 46%)
HSVhsv(308, 75%, 73%)
CMYKcmyk(0%, 74.9%, 10.2%, 26.7%)
CIE-LABlab(46.21, 66.80, -34.17)
CIE-LCHlch(46.21, 75.04, 332.91°)
OKLaboklab(56.49% 0.1942 -0.0936)
OKLCHoklch(56.49% 0.216 334.3)
XYZxyz(28.5782, 15.4275, 38.5109)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FA8 #2FBB42
analogous
#882FBB #BB2FA8 #BB2F62
triadic
#BB2FA8 #A8BB2F #2FA8BB
tetradic
#BB2FA8 #BB882F #2FBB42 #2F62BB
square
#BB2FA8 #BB882F #2FBB42 #2F62BB
split-complementary
#BB2FA8 #62BB2F #2FBB88
monochromatic
#591650 #8A237C #BB2FA8 #D453C2 #E084D4

Accessibility & contrast

On white

5.14
#BB2FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BB2FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2FA8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FA8#FFFFFF#000000##FFFFFF
##BB2FA81.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AB
Deuteranopia (green-blind)
#6075A5
Tritanopia (blue-blind)
#C43C69
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2fa8;
/* rgb */ color: rgb(187, 47, 168);
/* oklch */ color: oklch(56.5% 0.216 334.3);
Tailwind
colors: {
  custom: {
    50: '#d376c2',
    500: '#bb2fa8',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fa8;
$custom-light: #d376c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fa8",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 308.143,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56489,
    "c": 0.21555,
    "h": 334.3
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#BB2FA8
secondary
#7CC987
accent
#E35A45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB2FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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