#BB51E2#BB51E2

#BB51E2 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.1% C 0.223 H 315.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BB51E2
RGBrgb(187, 81, 226)
HSLhsl(284, 71%, 60%)
HSVhsv(284, 64%, 89%)
CMYKcmyk(17.3%, 64.2%, 0%, 11.4%)
CIE-LABlab(53.97, 64.04, -55.38)
CIE-LCHlch(53.97, 84.66, 319.15°)
OKLaboklab(63.09% 0.1592 -0.1554)
OKLCHoklch(63.09% 0.223 315.7)
XYZxyz(37.1613, 21.9420, 74.2145)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51E2 #78E251
analogous
#7251E2 #BB51E2 #E251C1
triadic
#BB51E2 #E2BB51 #51E2BB
tetradic
#BB51E2 #E27251 #78E251 #51C1E2
square
#BB51E2 #E27251 #78E251 #51C1E2
split-complementary
#BB51E2 #C1E251 #51E272
monochromatic
#7B1A9E #A323D3 #BB51E2 #D085EB #E4BAF3

Accessibility & contrast

On white

3.90
#BB51E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#BB51E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51E2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51E2#FFFFFF#000000##000000
##BB51E21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#137BE6
Deuteranopia (green-blind)
#5084DF
Tritanopia (blue-blind)
#B86C93
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb51e2;
/* rgb */ color: rgb(187, 81, 226);
/* oklch */ color: oklch(63.1% 0.223 315.7);
Tailwind
colors: {
  custom: {
    50: '#d389ec',
    500: '#bb51e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb51e2;
$custom-light: #d389ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51e2",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 283.862,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6309,
    "c": 0.22254,
    "h": 315.7
  },
  "luminance": 0.21941
}

Semantic roles & 50–950 ramp

primary
#BB51E2
secondary
#BBE3AC
accent
#D31246
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB51E2

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

Preview Lab → · Contrast checker → · Palette generator →

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