#BB51BF#BB51BF

#BB51BF is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.1% C 0.190 H 326.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BB51BF
RGBrgb(187, 81, 191)
HSLhsl(298, 46%, 53%)
HSVhsv(298, 58%, 75%)
CMYKcmyk(2.1%, 57.6%, 0%, 25.1%)
CIE-LABlab(52.08, 57.41, -38.40)
CIE-LCHlch(52.08, 69.07, 326.22°)
OKLaboklab(61.11% 0.1582 -0.106)
OKLCHoklch(61.11% 0.19 326.2)
XYZxyz(32.8393, 20.2132, 51.4519)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51BF #55BF51
analogous
#8451BF #BB51BF #BF518C
triadic
#BB51BF #BFBB51 #51BFBB
tetradic
#BB51BF #BF8451 #55BF51 #518CBF
square
#BB51BF #BF8451 #55BF51 #518CBF
split-complementary
#BB51BF #8CBF51 #51BF84
monochromatic
#6B286D #97399A #BB51BF #CC7ECF #DEAAE0

Accessibility & contrast

On white

4.16
#BB51BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#BB51BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51BF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51BF#FFFFFF#000000##000000
##BB51BF1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#6781BC
Tritanopia (blue-blind)
#C05F80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb51bf;
/* rgb */ color: rgb(187, 81, 191);
/* oklch */ color: oklch(61.1% 0.190 326.2);
Tailwind
colors: {
  custom: {
    50: '#d288d3',
    500: '#bb51bf',
    950: '#000000',
  },
}
SCSS
$custom: #bb51bf;
$custom-light: #d288d3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51bf",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 297.818,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.19044,
    "h": 326.2
  },
  "luminance": 0.20211
}

Semantic roles & 50–950 ramp

primary
#BB51BF
secondary
#A0CE9E
accent
#D65257
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB51BF

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

Preview Lab → · Contrast checker → · Palette generator →

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