#BB3FAB#BB3FAB

#BB3FAB is a mid, vivid purple. Relative luminance 0.171; OKLCH L 58.1% C 0.199 H 333.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BB3FAB
RGBrgb(187, 63, 171)
HSLhsl(308, 50%, 49%)
HSVhsv(308, 66%, 73%)
CMYKcmyk(0%, 66.3%, 8.6%, 26.7%)
CIE-LABlab(48.34, 61.67, -32.61)
CIE-LCHlch(48.34, 69.77, 332.13°)
OKLaboklab(58.07% 0.178 -0.0892)
OKLCHoklch(58.07% 0.199 333.4)
XYZxyz(29.6218, 17.0625, 40.2534)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3FAB #3FBB4F
analogous
#8D3FBB #BB3FAB #BB3F6D
triadic
#BB3FAB #ABBB3F #3FABBB
tetradic
#BB3FAB #BB8D3F #3FBB4F #3F6DBB
square
#BB3FAB #BB8D3F #3FBB4F #3F6DBB
split-complementary
#BB3FAB #6DBB3F #3FBB8D
monochromatic
#5F2057 #8D3081 #BB3FAB #CD6AC0 #DC98D4

Accessibility & contrast

On white

4.76
#BB3FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BB3FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3FAB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3FAB#FFFFFF#000000##FFFFFF
##BB3FAB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C67AE
Deuteranopia (green-blind)
#6679A8
Tritanopia (blue-blind)
#C3496F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb3fab;
/* rgb */ color: rgb(187, 63, 171);
/* oklch */ color: oklch(58.1% 0.199 333.4);
Tailwind
colors: {
  custom: {
    50: '#d37dc4',
    500: '#bb3fab',
    950: '#000000',
  },
}
SCSS
$custom: #bb3fab;
$custom-light: #d37dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3fab",
  "rgb": {
    "r": 187,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 307.742,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58071,
    "c": 0.19914,
    "h": 333.4
  },
  "luminance": 0.1706
}

Semantic roles & 50–950 ramp

primary
#BB3FAB
secondary
#8EC895
accent
#D9614F
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #BB3FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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