#BB51BE#BB51BE

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

Color values

HEX#BB51BE
RGBrgb(187, 81, 190)
HSLhsl(298, 46%, 53%)
HSVhsv(298, 57%, 75%)
CMYKcmyk(1.6%, 57.4%, 0%, 25.5%)
CIE-LABlab(52.03, 57.23, -37.90)
CIE-LCHlch(52.03, 68.65, 326.48°)
OKLaboklab(61.06% 0.1581 -0.1046)
OKLCHoklch(61.06% 0.19 326.5)
XYZxyz(32.7296, 20.1693, 50.8743)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51BE #54BE51
analogous
#8451BE #BB51BE #BE518A
triadic
#BB51BE #BEBB51 #51BEBB
tetradic
#BB51BE #BE8451 #54BE51 #518ABE
square
#BB51BE #BE8451 #54BE51 #518ABE
split-complementary
#BB51BE #8ABE51 #51BE84
monochromatic
#6A286C #963999 #BB51BE #CC7ECF #DEAADF

Accessibility & contrast

On white

4.17
#BB51BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#BB51BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51BE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51BE#FFFFFF#000000##000000
##BB51BE1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4373C1
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#C05F80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb51be;
/* rgb */ color: rgb(187, 81, 190);
/* oklch */ color: oklch(61.1% 0.190 326.5);
Tailwind
colors: {
  custom: {
    50: '#d288d2',
    500: '#bb51be',
    950: '#000000',
  },
}
SCSS
$custom: #bb51be;
$custom-light: #d288d2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51be",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 298.349,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.18957,
    "h": 326.5
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#BB51BE
secondary
#9FCD9E
accent
#D55356
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB51BE

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

Preview Lab → · Contrast checker → · Palette generator →

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