#BB4FB7#BB4FB7

#BB4FB7 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.5% C 0.186 H 329.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BB4FB7
RGBrgb(187, 79, 183)
HSLhsl(302, 44%, 52%)
HSVhsv(302, 58%, 73%)
CMYKcmyk(0%, 57.8%, 2.1%, 26.7%)
CIE-LABlab(51.36, 56.91, -34.90)
CIE-LCHlch(51.36, 66.76, 328.48°)
OKLaboklab(60.46% 0.1599 -0.0959)
OKLCHoklch(60.46% 0.186 329)
XYZxyz(31.8364, 19.5777, 46.8926)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4FB7 #4FBB53
analogous
#894FBB #BB4FB7 #BB4F81
triadic
#BB4FB7 #B7BB4F #4FB7BB
tetradic
#BB4FB7 #BB894F #4FBB53 #4F81BB
square
#BB4FB7 #BB894F #4FBB53 #4F81BB
split-complementary
#BB4FB7 #81BB4F #4FBB89
monochromatic
#682865 #943990 #BB4FB7 #CC7BC9 #DDA7DB

Accessibility & contrast

On white

4.27
#BB4FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BB4FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4FB7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4FB7#FFFFFF#000000##000000
##BB4FB71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#6980B4
Tritanopia (blue-blind)
#C15B7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4fb7;
/* rgb */ color: rgb(187, 79, 183);
/* oklch */ color: oklch(60.5% 0.186 329.0);
Tailwind
colors: {
  custom: {
    50: '#d286cd',
    500: '#bb4fb7',
    950: '#000000',
  },
}
SCSS
$custom: #bb4fb7;
$custom-light: #d286cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4fb7",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 302.222,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60456,
    "c": 0.18649,
    "h": 329
  },
  "luminance": 0.19576
}

Semantic roles & 50–950 ramp

primary
#BB4FB7
secondary
#9BCA9D
accent
#D45954
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB4FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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