#BB5CB1#BB5CB1

#BB5CB1 is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.9% C 0.161 H 331.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BB5CB1
RGBrgb(187, 92, 177)
HSLhsl(306, 41%, 55%)
HSVhsv(306, 51%, 73%)
CMYKcmyk(0%, 50.8%, 5.3%, 26.7%)
CIE-LABlab(53.38, 49.71, -28.26)
CIE-LCHlch(53.38, 57.18, 330.38°)
OKLaboklab(61.86% 0.1414 -0.077)
OKLCHoklch(61.86% 0.161 331.4)
XYZxyz(32.2563, 21.3954, 44.0172)
Luminance0.2139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CB1 #5CBB66
analogous
#965CBB #BB5CB1 #BB5C81
triadic
#BB5CB1 #B1BB5C #5CB1BB
tetradic
#BB5CB1 #BB965C #5CBB66 #5C81BB
square
#BB5CB1 #BB965C #5CBB66 #5C81BB
split-complementary
#BB5CB1 #81BB5C #5CBB96
monochromatic
#6F2E68 #9A4090 #BB5CB1 #CD87C6 #DFB2DA

Accessibility & contrast

On white

3.98
#BB5CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#BB5CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CB1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CB1#FFFFFF#000000##000000
##BB5CB11.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5877B4
Deuteranopia (green-blind)
#7484AE
Tritanopia (blue-blind)
#C2637E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5cb1;
/* rgb */ color: rgb(187, 92, 177);
/* oklch */ color: oklch(61.9% 0.161 331.4);
Tailwind
colors: {
  custom: {
    50: '#d28ec8',
    500: '#bb5cb1',
    950: '#000000',
  },
}
SCSS
$custom: #bb5cb1;
$custom-light: #d28ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5cb1",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 306.316,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.16103,
    "h": 331.4
  },
  "luminance": 0.21393
}

Semantic roles & 50–950 ramp

primary
#BB5CB1
secondary
#A5CDAA
accent
#D16457
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140D13
muted
#837D82

Preview Lab

Preview with #BB5CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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