#BB5BB6#BB5BB6

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

Color values

HEX#BB5BB6
RGBrgb(187, 91, 182)
HSLhsl(303, 41%, 55%)
HSVhsv(303, 51%, 73%)
CMYKcmyk(0%, 51.3%, 2.7%, 26.7%)
CIE-LABlab(53.41, 51.08, -31.11)
CIE-LCHlch(53.41, 59.81, 328.66°)
OKLaboklab(61.95% 0.1437 -0.0851)
OKLCHoklch(61.95% 0.167 329.3)
XYZxyz(32.6777, 21.4263, 46.6614)
Luminance0.2142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BB6 #5BBB60
analogous
#905BBB #BB5BB6 #BB5B86
triadic
#BB5BB6 #B6BB5B #5BB6BB
tetradic
#BB5BB6 #BB905B #5BBB60 #5B86BB
square
#BB5BB6 #BB905B #5BBB60 #5B86BB
split-complementary
#BB5BB6 #86BB5B #5BBB90
monochromatic
#6E2E6B #994095 #BB5BB6 #CD86C9 #DFB2DD

Accessibility & contrast

On white

3.97
#BB5BB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB5BB6#FFFFFF#000000##000000
##BB5BB61.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5577B9
Deuteranopia (green-blind)
#7184B3
Tritanopia (blue-blind)
#C16480
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb5bb6;
/* rgb */ color: rgb(187, 91, 182);
/* oklch */ color: oklch(62.0% 0.167 329.3);
Tailwind
colors: {
  custom: {
    50: '#d28dcc',
    500: '#bb5bb6',
    950: '#000000',
  },
}
SCSS
$custom: #bb5bb6;
$custom-light: #d28dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5bb6",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 182
  },
  "hsl": {
    "h": 303.125,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.16702,
    "h": 329.3
  },
  "luminance": 0.21424
}

Semantic roles & 50–950 ramp

primary
#BB5BB6
secondary
#A5CDA7
accent
#D15D57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB5BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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