#BB51E1#BB51E1

#BB51E1 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.0% C 0.222 H 315.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BB51E1
RGBrgb(187, 81, 225)
HSLhsl(284, 71%, 60%)
HSVhsv(284, 64%, 88%)
CMYKcmyk(16.9%, 64%, 0%, 11.8%)
CIE-LABlab(53.91, 63.84, -54.91)
CIE-LCHlch(53.91, 84.21, 319.30°)
OKLaboklab(63.03% 0.1593 -0.1541)
OKLCHoklch(63.03% 0.222 315.9)
XYZxyz(37.0245, 21.8872, 73.4939)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51E1 #77E151
analogous
#7351E1 #BB51E1 #E151BF
triadic
#BB51E1 #E1BB51 #51E1BB
tetradic
#BB51E1 #E17351 #77E151 #51BFE1
square
#BB51E1 #E17351 #77E151 #51BFE1
split-complementary
#BB51E1 #BFE151 #51E173
monochromatic
#7A1B9D #A324D1 #BB51E1 #CF85EA #E4B9F3

Accessibility & contrast

On white

3.91
#BB51E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#BB51E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51E1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51E1#FFFFFF#000000##000000
##BB51E11.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#167AE5
Deuteranopia (green-blind)
#5184DE
Tritanopia (blue-blind)
#B96C92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb51e1;
/* rgb */ color: rgb(187, 81, 225);
/* oklch */ color: oklch(63.0% 0.222 315.9);
Tailwind
colors: {
  custom: {
    50: '#d389eb',
    500: '#bb51e1',
    950: '#000000',
  },
}
SCSS
$custom: #bb51e1;
$custom-light: #d389eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51e1",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 284.167,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.63029,
    "c": 0.2216,
    "h": 315.9
  },
  "luminance": 0.21886
}

Semantic roles & 50–950 ramp

primary
#BB51E1
secondary
#BAE3AB
accent
#ED3A6A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB51E1

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

Preview Lab → · Contrast checker → · Palette generator →

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