#BB4FB6#BB4FB6

#BB4FB6 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.4% C 0.186 H 329.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BB4FB6
RGBrgb(187, 79, 182)
HSLhsl(303, 44%, 52%)
HSVhsv(303, 58%, 73%)
CMYKcmyk(0%, 57.8%, 2.7%, 26.7%)
CIE-LABlab(51.31, 56.74, -34.40)
CIE-LCHlch(51.31, 66.35, 328.78°)
OKLaboklab(60.41% 0.1598 -0.0945)
OKLCHoklch(60.41% 0.186 329.4)
XYZxyz(31.7327, 19.5362, 46.3464)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4FB6 #4FBB54
analogous
#8A4FBB #BB4FB6 #BB4F80
triadic
#BB4FB6 #B6BB4F #4FB6BB
tetradic
#BB4FB6 #BB8A4F #4FBB54 #4F80BB
square
#BB4FB6 #BB8A4F #4FBB54 #4F80BB
split-complementary
#BB4FB6 #80BB4F #4FBB8A
monochromatic
#682865 #943990 #BB4FB6 #CC7BC8 #DDA7DB

Accessibility & contrast

On white

4.28
#BB4FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#BB4FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4FB6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4FB6#FFFFFF#000000##000000
##BB4FB61.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4771B9
Deuteranopia (green-blind)
#6A7FB3
Tritanopia (blue-blind)
#C15A7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4fb6;
/* rgb */ color: rgb(187, 79, 182);
/* oklch */ color: oklch(60.4% 0.186 329.4);
Tailwind
colors: {
  custom: {
    50: '#d286cc',
    500: '#bb4fb6',
    950: '#000000',
  },
}
SCSS
$custom: #bb4fb6;
$custom-light: #d286cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4fb6",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 182
  },
  "hsl": {
    "h": 302.778,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60406,
    "c": 0.18564,
    "h": 329.4
  },
  "luminance": 0.19534
}

Semantic roles & 50–950 ramp

primary
#BB4FB6
secondary
#9BCA9E
accent
#D45A54
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB4FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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