#BB4FB1#BB4FB1

#BB4FB1 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.2% C 0.181 H 331.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BB4FB1
RGBrgb(187, 79, 177)
HSLhsl(306, 44%, 52%)
HSVhsv(306, 58%, 73%)
CMYKcmyk(0%, 57.8%, 5.3%, 26.7%)
CIE-LABlab(51.07, 55.89, -31.85)
CIE-LCHlch(51.07, 64.33, 330.32°)
OKLaboklab(60.16% 0.1592 -0.0872)
OKLCHoklch(60.16% 0.181 331.3)
XYZxyz(31.2252, 19.3332, 43.6735)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4FB1 #4FBB59
analogous
#8F4FBB #BB4FB1 #BB4F7B
triadic
#BB4FB1 #B1BB4F #4FB1BB
tetradic
#BB4FB1 #BB8F4F #4FBB59 #4F7BBB
square
#BB4FB1 #BB8F4F #4FBB59 #4F7BBB
split-complementary
#BB4FB1 #7BBB4F #4FBB8F
monochromatic
#682862 #94398B #BB4FB1 #CC7BC5 #DDA7D8

Accessibility & contrast

On white

4.32
#BB4FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#BB4FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4FB1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4FB1#FFFFFF#000000##000000
##BB4FB11.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#6C7FAE
Tritanopia (blue-blind)
#C25879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4fb1;
/* rgb */ color: rgb(187, 79, 177);
/* oklch */ color: oklch(60.2% 0.181 331.3);
Tailwind
colors: {
  custom: {
    50: '#d286c8',
    500: '#bb4fb1',
    950: '#000000',
  },
}
SCSS
$custom: #bb4fb1;
$custom-light: #d286c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4fb1",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 305.556,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.18147,
    "h": 331.3
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#BB4FB1
secondary
#9BCAA0
accent
#D46054
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB4FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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