#BB50B2#BB50B2

#BB50B2 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.3% C 0.181 H 330.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BB50B2
RGBrgb(187, 80, 178)
HSLhsl(305, 44%, 52%)
HSVhsv(305, 57%, 73%)
CMYKcmyk(0%, 57.2%, 4.8%, 26.7%)
CIE-LABlab(51.29, 55.60, -32.10)
CIE-LCHlch(51.29, 64.20, 330.00°)
OKLaboklab(60.33% 0.158 -0.0879)
OKLCHoklch(60.33% 0.181 330.9)
XYZxyz(31.3979, 19.5186, 44.2246)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB50B2 #50BB59
analogous
#8F50BB #BB50B2 #BB507C
triadic
#BB50B2 #B2BB50 #50B2BB
tetradic
#BB50B2 #BB8F50 #50BB59 #507CBB
square
#BB50B2 #BB8F50 #50BB59 #507CBB
split-complementary
#BB50B2 #7CBB50 #50BB8F
monochromatic
#682863 #943A8D #BB50B2 #CC7CC5 #DDA8D9

Accessibility & contrast

On white

4.28
#BB50B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#BB50B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB50B2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB50B2#FFFFFF#000000##000000
##BB50B21.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B5
Deuteranopia (green-blind)
#6C80AF
Tritanopia (blue-blind)
#C25A7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb50b2;
/* rgb */ color: rgb(187, 80, 178);
/* oklch */ color: oklch(60.3% 0.181 330.9);
Tailwind
colors: {
  custom: {
    50: '#d287c9',
    500: '#bb50b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb50b2;
$custom-light: #d287c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb50b2",
  "rgb": {
    "r": 187,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 305.047,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6033,
    "c": 0.18079,
    "h": 330.9
  },
  "luminance": 0.19516
}

Semantic roles & 50–950 ramp

primary
#BB50B2
secondary
#9CCBA0
accent
#D45F54
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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