#BB51E5#BB51E5

#BB51E5 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.3% C 0.225 H 314.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BB51E5
RGBrgb(187, 81, 229)
HSLhsl(283, 74%, 61%)
HSVhsv(283, 65%, 90%)
CMYKcmyk(18.3%, 64.6%, 0%, 10.2%)
CIE-LABlab(54.14, 64.63, -56.79)
CIE-LCHlch(54.14, 86.04, 318.70°)
OKLaboklab(63.27% 0.1591 -0.1596)
OKLCHoklch(63.27% 0.225 314.9)
XYZxyz(37.5765, 22.1081, 76.4014)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51E5 #7BE551
analogous
#7151E5 #BB51E5 #E551C5
triadic
#BB51E5 #E5BB51 #51E5BB
tetradic
#BB51E5 #E57151 #7BE551 #51C5E5
square
#BB51E5 #E57151 #7BE551 #51C5E5
split-complementary
#BB51E5 #C5E551 #51E571
monochromatic
#7C18A3 #A420D8 #BB51E5 #D086ED #E5BBF5

Accessibility & contrast

On white

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

On black

5.42
#BB51E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51E5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51E5#FFFFFF#000000##000000
##BB51E51.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#067BE9
Deuteranopia (green-blind)
#4D84E2
Tritanopia (blue-blind)
#B86D94
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb51e5;
/* rgb */ color: rgb(187, 81, 229);
/* oklch */ color: oklch(63.3% 0.225 314.9);
Tailwind
colors: {
  custom: {
    50: '#d389ee',
    500: '#bb51e5',
    950: '#000000',
  },
}
SCSS
$custom: #bb51e5;
$custom-light: #d389ee;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51e5",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 282.973,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63273,
    "c": 0.22537,
    "h": 314.9
  },
  "luminance": 0.22107
}

Semantic roles & 50–950 ramp

primary
#BB51E5
secondary
#BDE5AD
accent
#D60F48
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB51E5

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

Preview Lab → · Contrast checker → · Palette generator →

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