#BB2FA6#BB2FA6

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

Color values

HEX#BB2FA6
RGBrgb(187, 47, 166)
HSLhsl(309, 60%, 46%)
HSVhsv(309, 75%, 73%)
CMYKcmyk(0%, 74.9%, 11.2%, 26.7%)
CIE-LABlab(46.11, 66.51, -33.14)
CIE-LCHlch(46.11, 74.31, 333.51°)
OKLaboklab(56.39% 0.194 -0.0906)
OKLCHoklch(56.39% 0.214 335)
XYZxyz(28.3933, 15.3535, 37.5371)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FA6 #2FBB44
analogous
#8A2FBB #BB2FA6 #BB2F60
triadic
#BB2FA6 #A6BB2F #2FA6BB
tetradic
#BB2FA6 #BB8A2F #2FBB44 #2F60BB
square
#BB2FA6 #BB8A2F #2FBB44 #2F60BB
split-complementary
#BB2FA6 #60BB2F #2FBB8A
monochromatic
#59164F #8A237B #BB2FA6 #D453C1 #E084D2

Accessibility & contrast

On white

5.16
#BB2FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BB2FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2FA6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FA6#FFFFFF#000000##FFFFFF
##BB2FA61.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60A9
Deuteranopia (green-blind)
#6175A3
Tritanopia (blue-blind)
#C43B68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2fa6;
/* rgb */ color: rgb(187, 47, 166);
/* oklch */ color: oklch(56.4% 0.214 335.0);
Tailwind
colors: {
  custom: {
    50: '#d376c1',
    500: '#bb2fa6',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fa6;
$custom-light: #d376c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fa6",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 309,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56385,
    "c": 0.21416,
    "h": 335
  },
  "luminance": 0.15351
}

Semantic roles & 50–950 ramp

primary
#BB2FA6
secondary
#7CC988
accent
#E35D45
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB2FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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