#BB51E7#BB51E7

#BB51E7 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.4% C 0.227 H 314.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#BB51E7
RGBrgb(187, 81, 231)
HSLhsl(282, 76%, 61%)
HSVhsv(282, 65%, 91%)
CMYKcmyk(19%, 64.9%, 0%, 9.4%)
CIE-LABlab(54.26, 65.04, -57.72)
CIE-LCHlch(54.26, 86.96, 318.41°)
OKLaboklab(63.4% 0.1591 -0.1623)
OKLCHoklch(63.4% 0.227 314.4)
XYZxyz(37.8574, 22.2204, 77.8806)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51E7 #7DE751
analogous
#7051E7 #BB51E7 #E751C8
triadic
#BB51E7 #E7BB51 #51E7BB
tetradic
#BB51E7 #E77051 #7DE751 #51C8E7
square
#BB51E7 #E77051 #7DE751 #51C8E7
split-complementary
#BB51E7 #C8E751 #51E770
monochromatic
#7C17A7 #A51EDC #BB51E7 #D087EE #E5BDF6

Accessibility & contrast

On white

3.86
#BB51E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#BB51E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51E7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51E7#FFFFFF#000000##000000
##BB51E71.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#4B84E3
Tritanopia (blue-blind)
#B76E95
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb51e7;
/* rgb */ color: rgb(187, 81, 231);
/* oklch */ color: oklch(63.4% 0.227 314.4);
Tailwind
colors: {
  custom: {
    50: '#d389ef',
    500: '#bb51e7',
    950: '#000000',
  },
}
SCSS
$custom: #bb51e7;
$custom-light: #d389ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51e7",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 282.4,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63397,
    "c": 0.22725,
    "h": 314.4
  },
  "luminance": 0.22219
}

Semantic roles & 50–950 ramp

primary
#BB51E7
secondary
#BEE6AE
accent
#D80E49
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB51E7

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

Preview Lab → · Contrast checker → · Palette generator →

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