#BB5CB7#BB5CB7

#BB5CB7 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.1% C 0.166 H 328.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BB5CB7
RGBrgb(187, 92, 183)
HSLhsl(303, 41%, 55%)
HSVhsv(303, 51%, 73%)
CMYKcmyk(0%, 50.8%, 2.1%, 26.7%)
CIE-LABlab(53.64, 50.77, -31.33)
CIE-LCHlch(53.64, 59.66, 328.32°)
OKLaboklab(62.14% 0.1425 -0.0858)
OKLCHoklch(62.14% 0.166 328.9)
XYZxyz(32.8675, 21.6399, 47.2363)
Luminance0.2164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CB7 #5CBB60
analogous
#8F5CBB #BB5CB7 #BB5C88
triadic
#BB5CB7 #B7BB5C #5CB7BB
tetradic
#BB5CB7 #BB8F5C #5CBB60 #5C88BB
square
#BB5CB7 #BB8F5C #5CBB60 #5C88BB
split-complementary
#BB5CB7 #88BB5C #5CBB8F
monochromatic
#6F2E6C #9A4096 #BB5CB7 #CD87CA #DFB2DD

Accessibility & contrast

On white

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

On black

5.33
#BB5CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CB7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CB7#FFFFFF#000000##000000
##BB5CB71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5578BA
Deuteranopia (green-blind)
#7185B4
Tritanopia (blue-blind)
#C16581
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb5cb7;
/* rgb */ color: rgb(187, 92, 183);
/* oklch */ color: oklch(62.1% 0.166 328.9);
Tailwind
colors: {
  custom: {
    50: '#d28ecd',
    500: '#bb5cb7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5cb7;
$custom-light: #d28ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5cb7",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 302.526,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62137,
    "c": 0.1663,
    "h": 328.9
  },
  "luminance": 0.21638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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