#BB2FA7#BB2FA7

#BB2FA7 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.4% C 0.215 H 334.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BB2FA7
RGBrgb(187, 47, 167)
HSLhsl(309, 60%, 46%)
HSVhsv(309, 75%, 73%)
CMYKcmyk(0%, 74.9%, 10.7%, 26.7%)
CIE-LABlab(46.16, 66.65, -33.66)
CIE-LCHlch(46.16, 74.67, 333.21°)
OKLaboklab(56.44% 0.1941 -0.0921)
OKLCHoklch(56.44% 0.215 334.6)
XYZxyz(28.4854, 15.3904, 38.0221)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FA7 #2FBB43
analogous
#892FBB #BB2FA7 #BB2F61
triadic
#BB2FA7 #A7BB2F #2FA7BB
tetradic
#BB2FA7 #BB892F #2FBB43 #2F61BB
square
#BB2FA7 #BB892F #2FBB43 #2F61BB
split-complementary
#BB2FA7 #61BB2F #2FBB89
monochromatic
#591650 #8A237B #BB2FA7 #D453C1 #E084D3

Accessibility & contrast

On white

5.15
#BB2FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB2FA7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FA7#FFFFFF#000000##FFFFFF
##BB2FA71.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60AA
Deuteranopia (green-blind)
#6175A4
Tritanopia (blue-blind)
#C43C68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2fa7;
/* rgb */ color: rgb(187, 47, 167);
/* oklch */ color: oklch(56.4% 0.215 334.6);
Tailwind
colors: {
  custom: {
    50: '#d376c1',
    500: '#bb2fa7',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fa7;
$custom-light: #d376c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fa7",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 308.571,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56436,
    "c": 0.21485,
    "h": 334.6
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#BB2FA7
secondary
#7CC987
accent
#E35B45
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB2FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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