#BB2FA9#BB2FA9

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

Color values

HEX#BB2FA9
RGBrgb(187, 47, 169)
HSLhsl(308, 60%, 46%)
HSVhsv(308, 75%, 73%)
CMYKcmyk(0%, 74.9%, 9.6%, 26.7%)
CIE-LABlab(46.26, 66.95, -34.69)
CIE-LCHlch(46.26, 75.40, 332.61°)
OKLaboklab(56.54% 0.1942 -0.0951)
OKLCHoklch(56.54% 0.216 333.9)
XYZxyz(28.6717, 15.4649, 39.0034)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FA9 #2FBB41
analogous
#872FBB #BB2FA9 #BB2F63
triadic
#BB2FA9 #A9BB2F #2FA9BB
tetradic
#BB2FA9 #BB872F #2FBB41 #2F63BB
square
#BB2FA9 #BB872F #2FBB41 #2F63BB
split-complementary
#BB2FA9 #63BB2F #2FBB87
monochromatic
#591651 #8A237D #BB2FA9 #D453C3 #E084D4

Accessibility & contrast

On white

5.13
#BB2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BB2FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2FA9
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FA9#FFFFFF#000000##FFFFFF
##BB2FA91.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AC
Deuteranopia (green-blind)
#6075A6
Tritanopia (blue-blind)
#C43D69
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2fa9;
/* rgb */ color: rgb(187, 47, 169);
/* oklch */ color: oklch(56.5% 0.216 333.9);
Tailwind
colors: {
  custom: {
    50: '#d376c3',
    500: '#bb2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fa9;
$custom-light: #d376c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fa9",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 307.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56541,
    "c": 0.21625,
    "h": 333.9
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#BB2FA9
secondary
#7CC986
accent
#E35945
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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