#BB4CB2#BB4CB2

#BB4CB2 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.187 H 330.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BB4CB2
RGBrgb(187, 76, 178)
HSLhsl(305, 45%, 52%)
HSVhsv(305, 59%, 73%)
CMYKcmyk(0%, 59.4%, 4.8%, 26.7%)
CIE-LABlab(50.63, 57.40, -33.13)
CIE-LCHlch(50.63, 66.28, 330.01°)
OKLaboklab(59.85% 0.1632 -0.0908)
OKLCHoklch(59.85% 0.187 330.9)
XYZxyz(31.1137, 18.9502, 44.1298)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4CB2 #4CBB55
analogous
#8D4CBB #BB4CB2 #BB4C7B
triadic
#BB4CB2 #B2BB4C #4CB2BB
tetradic
#BB4CB2 #BB8D4C #4CBB55 #4C7BBB
square
#BB4CB2 #BB8D4C #4CBB55 #4C7BBB
split-complementary
#BB4CB2 #7BBB4C #4CBB8D
monochromatic
#662761 #92388B #BB4CB2 #CC78C5 #DDA5D8

Accessibility & contrast

On white

4.38
#BB4CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BB4CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4CB2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4CB2#FFFFFF#000000##000000
##BB4CB21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#6A7EAF
Tritanopia (blue-blind)
#C25678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4cb2;
/* rgb */ color: rgb(187, 76, 178);
/* oklch */ color: oklch(59.8% 0.187 330.9);
Tailwind
colors: {
  custom: {
    50: '#d285c9',
    500: '#bb4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #bb4cb2;
$custom-light: #d285c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4cb2",
  "rgb": {
    "r": 187,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 304.865,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59847,
    "c": 0.18672,
    "h": 330.9
  },
  "luminance": 0.18948
}

Semantic roles & 50–950 ramp

primary
#BB4CB2
secondary
#99CA9D
accent
#D55E53
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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