#BB51E6#BB51E6

#BB51E6 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.3% C 0.226 H 314.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BB51E6
RGBrgb(187, 81, 230)
HSLhsl(283, 75%, 61%)
HSVhsv(283, 65%, 90%)
CMYKcmyk(18.7%, 64.8%, 0%, 9.8%)
CIE-LABlab(54.20, 64.83, -57.26)
CIE-LCHlch(54.20, 86.50, 318.55°)
OKLaboklab(63.33% 0.1591 -0.1609)
OKLCHoklch(63.33% 0.226 314.7)
XYZxyz(37.7165, 22.1641, 77.1389)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51E6 #7CE651
analogous
#7051E6 #BB51E6 #E651C6
triadic
#BB51E6 #E6BB51 #51E6BB
tetradic
#BB51E6 #E67051 #7CE651 #51C6E6
square
#BB51E6 #E67051 #7CE651 #51C6E6
split-complementary
#BB51E6 #C6E651 #51E670
monochromatic
#7C18A5 #A41FDA #BB51E6 #D087EE #E5BCF5

Accessibility & contrast

On white

3.87
#BB51E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#BB51E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51E6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51E6#FFFFFF#000000##000000
##BB51E61.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#017CEA
Deuteranopia (green-blind)
#4C84E3
Tritanopia (blue-blind)
#B76D95
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb51e6;
/* rgb */ color: rgb(187, 81, 230);
/* oklch */ color: oklch(63.3% 0.226 314.7);
Tailwind
colors: {
  custom: {
    50: '#d389ef',
    500: '#bb51e6',
    950: '#000000',
  },
}
SCSS
$custom: #bb51e6;
$custom-light: #d389ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51e6",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 282.685,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63335,
    "c": 0.22631,
    "h": 314.7
  },
  "luminance": 0.22163
}

Semantic roles & 50–950 ramp

primary
#BB51E6
secondary
#BEE5AD
accent
#D70E48
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB51E6

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

Preview Lab → · Contrast checker → · Palette generator →

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