#BB4FBB#BB4FBB

#BB4FBB is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.7% C 0.190 H 327.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BB4FBB
RGBrgb(187, 79, 187)
HSLhsl(300, 44%, 52%)
HSVhsv(300, 58%, 73%)
CMYKcmyk(0%, 57.8%, 0%, 26.7%)
CIE-LABlab(51.55, 57.61, -36.92)
CIE-LCHlch(51.55, 68.42, 327.34°)
OKLaboklab(60.66% 0.1604 -0.1017)
OKLCHoklch(60.66% 0.19 327.6)
XYZxyz(32.2586, 19.7466, 49.1164)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4FBB #4FBB4F
analogous
#854FBB #BB4FBB #BB4F85
triadic
#BB4FBB #BBBB4F #4FBBBB
tetradic
#BB4FBB #BB854F #4FBB4F #4F85BB
square
#BB4FBB #BB854F #4FBB4F #4F85BB
split-complementary
#BB4FBB #85BB4F #4FBB85
monochromatic
#682868 #943994 #BB4FBB #CC7BCC #DDA7DD

Accessibility & contrast

On white

4.24
#BB4FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#BB4FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4FBB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4FBB#FFFFFF#000000##000000
##BB4FBB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#6780B8
Tritanopia (blue-blind)
#C05C7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb4fbb;
/* rgb */ color: rgb(187, 79, 187);
/* oklch */ color: oklch(60.7% 0.190 327.6);
Tailwind
colors: {
  custom: {
    50: '#d286d0',
    500: '#bb4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #bb4fbb;
$custom-light: #d286d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4fbb",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6066,
    "c": 0.18991,
    "h": 327.6
  },
  "luminance": 0.19745
}

Semantic roles & 50–950 ramp

primary
#BB4FBB
secondary
#9BCA9B
accent
#D45454
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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