#BB4FAB#BB4FAB

#BB4FAB is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.9% C 0.177 H 333.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BB4FAB
RGBrgb(187, 79, 171)
HSLhsl(309, 44%, 52%)
HSVhsv(309, 58%, 73%)
CMYKcmyk(0%, 57.8%, 8.6%, 26.7%)
CIE-LABlab(50.80, 54.89, -28.77)
CIE-LCHlch(50.80, 61.97, 332.34°)
OKLaboklab(59.87% 0.1583 -0.0784)
OKLCHoklch(59.87% 0.177 333.7)
XYZxyz(30.6403, 19.0993, 40.5929)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4FAB #4FBB5F
analogous
#954FBB #BB4FAB #BB4F75
triadic
#BB4FAB #ABBB4F #4FABBB
tetradic
#BB4FAB #BB954F #4FBB5F #4F75BB
square
#BB4FAB #BB954F #4FBB5F #4F75BB
split-complementary
#BB4FAB #75BB4F #4FBB95
monochromatic
#68285E #943986 #BB4FAB #CC7BC0 #DDA7D5

Accessibility & contrast

On white

4.36
#BB4FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#BB4FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4FAB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4FAB#FFFFFF#000000##000000
##BB4FAB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAE
Deuteranopia (green-blind)
#6E7FA8
Tritanopia (blue-blind)
#C35676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb4fab;
/* rgb */ color: rgb(187, 79, 171);
/* oklch */ color: oklch(59.9% 0.177 333.7);
Tailwind
colors: {
  custom: {
    50: '#d286c4',
    500: '#bb4fab',
    950: '#000000',
  },
}
SCSS
$custom: #bb4fab;
$custom-light: #d286c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4fab",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 308.889,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5987,
    "c": 0.1766,
    "h": 333.7
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#BB4FAB
secondary
#9BCAA2
accent
#D46754
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB4FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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