#BB51CE#BB51CE

#BB51CE is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 61.9% C 0.204 H 321.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BB51CE
RGBrgb(187, 81, 206)
HSLhsl(291, 56%, 56%)
HSVhsv(291, 61%, 81%)
CMYKcmyk(9.2%, 60.7%, 0%, 19.2%)
CIE-LABlab(52.85, 60.17, -45.80)
CIE-LCHlch(52.85, 75.62, 322.72°)
OKLaboklab(61.92% 0.1592 -0.1275)
OKLCHoklch(61.92% 0.204 321.3)
XYZxyz(34.5753, 20.9076, 60.5949)
Luminance0.2091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51CE #64CE51
analogous
#7D51CE #BB51CE #CE51A3
triadic
#BB51CE #CEBB51 #51CEBB
tetradic
#BB51CE #CE7D51 #64CE51 #51A3CE
square
#BB51CE #CE7D51 #64CE51 #51A3CE
split-complementary
#BB51CE #A3CE51 #51CE7D
monochromatic
#722480 #9D32B0 #BB51CE #CE81DB #E0B1E9

Accessibility & contrast

On white

4.05
#BB51CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#BB51CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51CE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51CE#FFFFFF#000000##000000
##BB51CE1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3577D2
Deuteranopia (green-blind)
#5E82CB
Tritanopia (blue-blind)
#BD6488
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb51ce;
/* rgb */ color: rgb(187, 81, 206);
/* oklch */ color: oklch(61.9% 0.204 321.3);
Tailwind
colors: {
  custom: {
    50: '#d288dd',
    500: '#bb51ce',
    950: '#000000',
  },
}
SCSS
$custom: #bb51ce;
$custom-light: #d288dd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51ce",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 290.88,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61921,
    "c": 0.20394,
    "h": 321.3
  },
  "luminance": 0.20906
}

Semantic roles & 50–950 ramp

primary
#BB51CE
secondary
#ABD7A4
accent
#DF485F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB51CE

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

Preview Lab → · Contrast checker → · Palette generator →

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