#BB4CBB#BB4CBB

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

Color values

HEX#BB4CBB
RGBrgb(187, 76, 187)
HSLhsl(300, 45%, 52%)
HSVhsv(300, 59%, 73%)
CMYKcmyk(0%, 59.4%, 0%, 26.7%)
CIE-LABlab(51.06, 58.94, -37.69)
CIE-LCHlch(51.06, 69.96, 327.40°)
OKLaboklab(60.31% 0.1641 -0.1039)
OKLCHoklch(60.31% 0.194 327.7)
XYZxyz(32.0471, 19.3236, 49.0459)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4CBB #4CBB4C
analogous
#844CBB #BB4CBB #BB4C84
triadic
#BB4CBB #BBBB4C #4CBBBB
tetradic
#BB4CBB #BB844C #4CBB4C #4C84BB
square
#BB4CBB #BB844C #4CBB4C #4C84BB
split-complementary
#BB4CBB #84BB4C #4CBB84
monochromatic
#662766 #923892 #BB4CBB #CC78CC #DDA5DD

Accessibility & contrast

On white

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

On black

4.86
#BB4CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4CBB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4CBB#FFFFFF#000000##000000
##BB4CBB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#657FB8
Tritanopia (blue-blind)
#C05A7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4cbb;
/* rgb */ color: rgb(187, 76, 187);
/* oklch */ color: oklch(60.3% 0.194 327.7);
Tailwind
colors: {
  custom: {
    50: '#d285d0',
    500: '#bb4cbb',
    950: '#000000',
  },
}
SCSS
$custom: #bb4cbb;
$custom-light: #d285d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4cbb",
  "rgb": {
    "r": 187,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60306,
    "c": 0.19424,
    "h": 327.7
  },
  "luminance": 0.19322
}

Semantic roles & 50–950 ramp

primary
#BB4CBB
secondary
#99CA99
accent
#D55353
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BB4CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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