#BB5CB8#BB5CB8

#BB5CB8 is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.2% C 0.167 H 328.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BB5CB8
RGBrgb(187, 92, 184)
HSLhsl(302, 41%, 55%)
HSVhsv(302, 51%, 73%)
CMYKcmyk(0%, 50.8%, 1.6%, 26.7%)
CIE-LABlab(53.69, 50.94, -31.84)
CIE-LCHlch(53.69, 60.07, 328.00°)
OKLaboklab(62.19% 0.1426 -0.0872)
OKLCHoklch(62.19% 0.167 328.5)
XYZxyz(32.9719, 21.6817, 47.7864)
Luminance0.2168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CB8 #5CBB5F
analogous
#8F5CBB #BB5CB8 #BB5C88
triadic
#BB5CB8 #B8BB5C #5CB8BB
tetradic
#BB5CB8 #BB8F5C #5CBB5F #5C88BB
square
#BB5CB8 #BB8F5C #5CBB5F #5C88BB
split-complementary
#BB5CB8 #88BB5C #5CBB8F
monochromatic
#6F2E6C #9A4097 #BB5CB8 #CD87CB #DFB2DE

Accessibility & contrast

On white

3.94
#BB5CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#BB5CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CB8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CB8#FFFFFF#000000##000000
##BB5CB81.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5578BB
Deuteranopia (green-blind)
#7185B5
Tritanopia (blue-blind)
#C06582
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb5cb8;
/* rgb */ color: rgb(187, 92, 184);
/* oklch */ color: oklch(62.2% 0.167 328.5);
Tailwind
colors: {
  custom: {
    50: '#d28ecd',
    500: '#bb5cb8',
    950: '#000000',
  },
}
SCSS
$custom: #bb5cb8;
$custom-light: #d28ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5cb8",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 184
  },
  "hsl": {
    "h": 301.895,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62185,
    "c": 0.16719,
    "h": 328.5
  },
  "luminance": 0.2168
}

Semantic roles & 50–950 ramp

primary
#BB5CB8
secondary
#A5CDA7
accent
#D15B57
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140D13
muted
#837D82

Preview Lab

Preview with #BB5CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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