#BB4DB8#BB4DB8

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

Color values

HEX#BB4DB8
RGBrgb(187, 77, 184)
HSLhsl(302, 45%, 52%)
HSVhsv(302, 59%, 73%)
CMYKcmyk(0%, 58.8%, 1.6%, 26.7%)
CIE-LABlab(51.08, 57.98, -35.92)
CIE-LCHlch(51.08, 68.21, 328.22°)
OKLaboklab(60.27% 0.1626 -0.0988)
OKLCHoklch(60.27% 0.19 328.7)
XYZxyz(31.7988, 19.3353, 47.3953)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4DB8 #4DBB50
analogous
#874DBB #BB4DB8 #BB4D81
triadic
#BB4DB8 #B8BB4D #4DB8BB
tetradic
#BB4DB8 #BB874D #4DBB50 #4D81BB
square
#BB4DB8 #BB874D #4DBB50 #4D81BB
split-complementary
#BB4DB8 #81BB4D #4DBB87
monochromatic
#662765 #933890 #BB4DB8 #CC79CA #DDA6DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB4DB8#FFFFFF#000000##000000
##BB4DB81.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)
#4370BB
Deuteranopia (green-blind)
#687FB5
Tritanopia (blue-blind)
#C1597B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4db8;
/* rgb */ color: rgb(187, 77, 184);
/* oklch */ color: oklch(60.3% 0.190 328.7);
Tailwind
colors: {
  custom: {
    50: '#d285cd',
    500: '#bb4db8',
    950: '#000000',
  },
}
SCSS
$custom: #bb4db8;
$custom-light: #d285cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4db8",
  "rgb": {
    "r": 187,
    "g": 77,
    "b": 184
  },
  "hsl": {
    "h": 301.636,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60268,
    "c": 0.19026,
    "h": 328.7
  },
  "luminance": 0.19333
}

Semantic roles & 50–950 ramp

primary
#BB4DB8
secondary
#9ACA9B
accent
#D45753
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB4DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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